Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 25
Registered: ‎07-02-2008
My Device: Not Specified

Push Registry questions

Hi,

 

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

v4.5.0.42 (Platform 2.7.0.60)

 

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.

 

BlackBerry Development Advisor
Posts: 15,144
Registered: ‎07-09-2008
My Device: BlackBerry Passport
My Carrier: Bell

Re: Push Registry questions

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
Article Number: DB-00008

 http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800901/How_To_-_Setup...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker