07-07-2010 03:36 AM
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 v22.214.171.1241 (Platform 126.96.36.199)
Thanks for your help!
07-07-2010 07:07 AM
Depending on some APIs that are used and different states of the device this is the expected behavior.