10-08-2008 01:03 PM
I've created a small Java application to handle MDS push (RIM push) on my device. It is supposed to run as a module and start when the device starts. It should create a new notification profile and listn for push data. Then it should display a popup containing the data that has been pushed and the user should be notified.
This application works fine on the simulators, the profile is created, the push data is displayed and the user is notified. However the application doesn't work on the real device/server. The push request seems to be ok (checked with a network sniffer) but nothing happens on the device. The profile is not created.
I've requested signing keys, generated an alx file and installed the application on the device with the Desktop Manager. How can I check if the application is properly installed and if it's autostarted and running when I push data?
Solved! Go to Solution.
10-08-2008 02:18 PM
10-09-2008 05:11 AM
Thanks Mark. I have installed the application on my device using javaloader and attached the JDE to my device.
I've checked Debug > Breakpoint > On startup and When any exception is thrown. And it seems I got an exception :
Debug output :
CMM : PushClient(1843) no sig from 0x33
Exception thrown :
value : @51732000
type : unknown(net_rim_cldc-1,52)
10-09-2008 10:28 AM
The "no sig from 0x33" is a standard message that is shown for all third party applications. It means the application has not been signed with the "3" key, which is a RIM internal key used to identify applications created by RIM. It should not cause an exception.
Note that the break when any exception is thrown breaks on all exceptions, regardless of whether or not they came from your application. So a halt on this setting does not mean an error or exception was thrown by your application.
10-09-2008 11:05 AM
Yes Mark, I've noticed this so I've deactivated break on all exceptions.
I've set a breakpoint in my main() and when I launch the application on the simulator (os 184.108.40.206) it stops when the breakpoint is reached. However when I launch the application on the real device it doesn't. It looks like my application is not even started. Or the application doesn't stop because the .debug files are missing? I was not able to find/download a simulator with the same os version (220.127.116.11 on my 8310) so I don't have the .debug files. I'm using JDE 4.5.0 by the way.
10-09-2008 02:09 PM