BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 06-02-2009, 09:28 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Nov 2007
Model: 8800
PIN: N/A
Carrier: T-Mobile
Posts: 18
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default sign app that auto-runs

Please Login to Remove!

Hi everybody,

i have written an application for my blackberry, that runs fine without signing it with the signature tool of JDE.
Now i want to let the application run on startup. After researching how to do this i found out, that i just have to check the checkboxes in the properties of my project (properties->application->auto-run on startup), but that the application then needs to be signed. So i registered for code-signing, got the 3 .csi files and installed them.

Now the signature tool showed Status='Not signed', Category='Optional' for all my .cod files. I signed the files and installed it on my blackberry.
The application does not autostart, it still shows an icon (auto-run + system module checked) and when i try to start the app manually i get an error message stating that the app needs to be signed...

btw: it works on the simualtor, meaning it autostarts, does not show the icon and give's no error.

What am i doing wrong?

update: after deleting the .cod files and rebuiling + signing them i don't get the error on the device anymore. but my app does not auto-run... any ideas?

Last edited by zimmi : 06-02-2009 at 10:04 AM.
Offline  
Old 06-03-2009, 02:20 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Nov 2007
Model: 8800
PIN: N/A
Carrier: T-Mobile
Posts: 18
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, my app still does not autostarts when the blackberry is turned on. I have tried all combinations of checking/unchecking the "auto-run" and "system module" checkboxes in JDE with no success. On the simulator i always get the expected results, but not on the real device.
Can anybody who has been able to auto-run an app tell me what i need to do, please?
Offline  
Old 06-03-2009, 05:11 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Nov 2007
Model: 8800
PIN: N/A
Carrier: T-Mobile
Posts: 18
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok, another step further. I realized that my app already starts automatically when the blackberry gets started (rebooted that is). Unfortunately that only occurs when i take out the battery.
When i just turn the blackberry off and on again, my app not gets started. It seams turning the blackberry off is merely just sending it to sleep mode.

So now i want to know how i can autostart an app when the blackberry gets turned on again without rebooting it.

Is there a way to achieve this?
Offline  




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