10-11-2012 07:54 AM
Hello Friends,
I have to restart BB device automatically without user interaction, How it is possible?
Reason to do this:- I create an application with some dependant modules, when user selects to delete application, Device ask to reboot. In case user press "Reboot Later", Since, application is not completely un install from device, This may cause errors.
As i found an old thread
In which i found that
Device.requestStorageMode();
is a bug but may trunoff device. So Can i use this to fulfill my requirement.
Need guidence from RIM staff.
10-11-2012 08:00 AM
Other kind of code like to uninstall runtime modules needs user interaction and user may disallow to restart,
or Device.requestPowerOff(boolean allowAutoOn) is just poweroff screen not reboot the device.
10-11-2012 08:07 AM
10-11-2012 08:33 AM
My Application is autostart, but at time of uninstallation user may select option to restart later, I want to remove this step.
Means i want an compulsory restart after application delete.
10-11-2012 08:40 AM
10-11-2012 08:46 AM
But how i can override native deletion process?
10-11-2012 09:12 AM
10-11-2012 09:33 AM
In that case my application will not uninstall from device, and other modules(related with my application) will create problem because i am working on some type of security related application.
I also tried with Global Event Listener and System Listener2 but no luck![]()
Is there no way to restart device programatically??
10-11-2012 09:44 AM
10-12-2012 02:07 AM
Any words from RIM Staff???