09-07-2009, 04:15 AM
Join Date: Sep 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | If I add PushRegistry to JAD, notifyDestroyed() just switches the app to background
Please Login to Remove!
If I add PushRegistry to JAD, notifyDestroyed() switches the app to background and doesn't close it If I just add to the JAD file the following line:
MIDlet-Push-1: sms://:20504, myPackage.myMIDlet, *
and even no any piece of code more, then the application doen't close when I call notifyDestroyed() . Instead of this it goes to background and when I start it again it continues exactly where I've stopped it last time and does not actually restart. Without that JAD's line all works normally. Also on other devices (Nokia, SE, LG, Motorola, Samsung) PushRegistry mechanism (with that line in JAD) works with no problems. Using PushRegistry.registerConnection() instead of adding the line to JAD leads in BB to the same problem. My BB device is 8310. Thanks.