08-15-2012 08:26 PM
I am getting a very weird bug in my webworks application with sencha touch.
When I use the applicaiton for a long time and then I close it and reopen it I get a group of "undefined" alerts that comes from handling document.onerror function and then a white blank screen appears and the application is not displayed at all.
Every time I restart the application the same weird error appears and I have to reinstall the application again using "ant blackberry load-device" to get it back working
I event cannot debug this error, I've used weinre but the connection gets interrupted when I spend long time using the
Any Idea why this error happens I cannot submit the application to the App World with this annoying bug.
08-20-2012 08:34 AM
Which device model and OS software version are you seeing this behavior on?
Also, which version of the WebWorks SDK are you using?
From what you've described, it sounds like it could be a persistence issue - the app trying to restore saved data (localStorage or WebDB) - which usually occurs on startup. However, the connection problems confuse me. You should be able to connect to Web Inspector from a WebWorks app (unless the -d debug build flag was disabled).