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

Web and WebWorks Development

New Developer
Posts: 6
Registered: ‎05-19-2010
My Device: 8900
My Carrier: none

Device restart after installing app.

Hi there:


First, i write a simple widget application without using blackberry.app.event.onExit and blackberry.system.event.onHardwareKey. Everything is ok.


But if i call these APIs in my widget application, two things happen:

1. In simulator, when i delete this widget application, the simulator show "Deletion will occur when handheld is restarted. Restart now ?"

2. In device, I execute "javaloader load app.cod" to install app vis USB, after install, device restart.


If i remove these two APIs from my app, Everything is ok.


Blackberry device: 8900 v5.0.0.681 (Platform


Thanks for your help!

Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Device restart after installing app.

Hi yusunhero,


Depending on some APIs that are used and different states of the device this is the expected behavior.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Posts: 84
Registered: ‎06-26-2008
My Device: Not Specified

Re: Device restart after installing app.

It will be isnteresting to know what APIs and what states make this...