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

Posts: 55
Registered: ‎07-21-2009
My Device: Bold 9700 - 6.0 Bundle 1202 (v6.0.0.344, Platform
My Carrier: Orange UK

Runs on OS 6 simulator but hangs on device with OS 6

[ Edited ]

I have had an issue with the "providerStateChanged" method not being called on my OS 5.x  GPS App. It has been raised as a bug by others too. I've was told it would be fixed in OS 6, but maybe not in OS 5.x


I have upgraded my Bold 9700 to OS 6.0: 6.0 Bundle 1202 (v6.0.0.344, Platform


My App runs okay in the OS 6.0 simulator. Left it running overnight and it reports the location (albeit the same one) every minute.


If I deploy it on my phone (Bold 9700)  it runs for about 5 minutes then hangs, The screen isn't refreshed and time stays at last reported location.


Once again the "providerStateChanged" method is never called.

Any suggestions where to look. As it doesn't happen in the simulator I can't debug it.




"It's all about quality (of posts) not quantity"
Posts: 131
Registered: ‎08-13-2008
My Device: Not Specified

Re: Runs on OS 6 simulator but hangs on device with OS 6

A few suggestions:


1) You may be updating the GUI from a non-event dispatching thread.

2) Test your app on a 5.0 simulator

3) After it hangs, Press Alt+LGLG to see the event log. Usually, there will be a stack trace for you to debug.

4) You can always put a try-catch block to the method and print the error to a log file.