How to auto turn on when the phone is off (like alarm) | developer.brewmp.com How to auto turn on when the phone is off (like alarm) | developer.brewmp.com

Developer

How to auto turn on when the phone is off (like alarm)

Forums:

Hai all, :confused: i am trying to develop a program that can automatically turn on the phone when it is off. The example of my program's functionality would be the phone's alarm. When the phone is off and the time is right, the alarm can turn on the phone to sound its alarm without having someone to turn the phone on. Can someone tell me the command to implement that? I think the most appropriate trigger would be time, isn't :) ??? Thank you very much.... thanks a bunch lot :D

Take a look at ISHELL_SetAlarm() .
I don't remember if it worked with the phone off, but it'll definetely bring your app up without user interaction... :)

Take a look at ISHELL_SetAlarm() .
I don't remember if it worked with the phone off, but it'll definetely bring your app up without user interaction... :)

There is no API that will power on a device. You can power cycle a device, but for that you need SYSTEM privilege. If the device is already powered on, use ISHELL or IALARMMGR

There is no API that will power on a device. You can power cycle a device, but for that you need SYSTEM privilege. If the device is already powered on, use ISHELL or IALARMMGR

Hi orangbogor,
Sorry to ask my question here...Can you tell me how to identify the power off event. Can we get any notification on power off? :confused: I need to identify that for one of my applications. I thought you can help me. Thanx in advance...
With warm regards,
Sunil

Hi orangbogor,
Sorry to ask my question here...Can you tell me how to identify the power off event. Can we get any notification on power off? :confused: I need to identify that for one of my applications. I thought you can help me. Thanx in advance...
With warm regards,
Sunil