09-12-2008 05:11 PM
I have read
How To - Create an auto-start MIDlet using the PushRegistry
Article Number: DB-00385
I understand that we can add the following in a jad file
MIDlet-Push-1: sms://:5678, test.javax.microedition.midlet.PushRegistryApp, *
My question is
1. Does "MIDlet-Push-1" work for BlackBerry CLDC application ? Can I do
MIDlet-Push-1: sms://:5678, com.test.PushRegistryUiApplication, *
com.test.PushRegistryUiApplication extends UIApplication
I tried it but when I installed I got "911 push registry failure.
My device is 8100
v22.214.171.124 (Platform 126.96.36.199)
2. If "MIDlet-Push-1" is not available for BlackBerry CLDC application, is there an alternative? Basically, I need to be able to start my application when the device receives sms message.
09-15-2008 09:14 AM
BlackBerry CLDC applications are able to auto start and run in the background. Therefore they do not require the use of the push registry. You can setup two entry points for your application. One that runs when the BlackBerry starts up to listen for incoming data, and another that a user can launch to display your GUI. The following link explains this further.
How To - Setup an alternate entry point for my application