BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 09-07-2009, 03:15 AM   #1 (permalink)
New Member
Join Date: Sep 2009
Model: 8310
Carrier: Orange
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.

Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.