04-02-2009 07:52 AM
I have developed an incoming email message alert application and I have also set it as "Auto-run on startup" in the Application tab in the BlackBerry JDE.
I have installed it into BB device using BlackBerry Desktop Software's Application Loader and restarted the BB device. But, still its not listening for the incoming messages. Does I need to change any properties in the actual BB device to start this application?
Solved! Go to Solution.
04-02-2009 07:59 AM
04-02-2009 08:00 AM - edited 04-02-2009 08:03 AM
Yes, I have signed my application and one other application (Custom SMS) which has GUI is working properly. But, I can't check this listener application, because its not have any screen associated with it. Its just a background application. Whenever an email message arrives, then only it will popup an alert message.
Ok, I will uncheck the auto-restart option. But, don't get any error while rebooting though!
04-02-2009 08:02 AM
Start the application manually and check if it detects the incoming messages..
04-02-2009 08:06 AM
And just to answer the original question, no there is nothing you need to do on the BlackBerry device itself to autostart the application.
I take it suto-start is working in the Simulator? What JDE and Device levels are involved here?
04-02-2009 08:09 AM
Check this KB articles as well..
04-02-2009 08:13 AM
BlackBerry Java Development Environment Version: 184.108.40.206
BlackBerry 9530 Simulator
BB Device Model: BB 8320
04-02-2009 08:28 AM
I have manually started the application. I have given a popup window as "Application started" initially using the following code:
UiEngine ui = Ui.getUiEngine();Screen screen = new Dialog(Dialog.D_OK, data, Dialog.OK, Bitmap.getPredefinedBitmap(Bitmap.EXCLAMATION), Manager.VERTICAL_SCROLL);ui.queueStatus(screen, 1, true);
But, its showing an empty white screen and disappearing after some time.
Is there anything with the way of showing popup message?
Is there any alternate way to do this?
04-02-2009 08:33 AM
Well, Have you took a look in this KB article?
Set alternate entry point to ur application.. It seems it is the option for that application to show popup to the foreground!