Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
New Contributor
yusunhero
Posts: 6
Registered: ‎05-19-2010
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 5.2.0.67)

 

Thanks for your help!

Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,693
Registered: ‎10-16-2008
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
Please use plain text.
Developer
lasterra
Posts: 80
Registered: ‎06-26-2008

Re: Device restart after installing app.

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

 

 

Please use plain text.