06-19-2011 05:15 PM
I am not sure what I am doing wrong.
On a curve running OS 5 my code works, but on a Torch OS 6 is does not.
I am handling the back button event, my code fires but on a Torch the app just exits.
I have experiemented and found if my back event handle code just does an alert the alert runs and the app does not crash. But if I try to do window.location.href='index.htm' the app exits.
When this happens The HTML unload event does not fire - well I cant trap it and the Blackberry On Exit event wont handle either.
I have no idea what to do. The simulator does it as well as the device. I can not find any work around despite searching.
This coupled with my other OS 6 issue relating to white flashes my app looks pretty poor on a Torch!
Any help or pointers much appriecited.
08-18-2011 10:44 AM
So just to confirm, you guys can trap the back events on 5.0 devices and 6.0 devices other than the Torch.
Can I just get some quick info?
What version of thwe SDK are you using?
What version of 6.0 is the Torch running?
08-19-2011 02:11 PM
I was able to trap the event. Are you guys using different versions of the OS, or using special libraries?