I looked at this API and it looks like it is only based on Time.
Is it possible to wake the phone up based on other events.
For example: Location or Device Orientation.
Thanks for your help.
On Aug 26, 1:07 pm, Yusuf Saib (T-Mobile USA) yusuf.s...@t-
Mobile.com wrote:
AlarmManager: http://d.android.com/reference/android/app/AlarmManager.html
Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
I would like to know how to put the device to sleep and how to wake it
up as well.
Anybody?
On Jul 20, 9:45 pm, Sansiro wangjiangfeng0...@gmail.com wrote:
Now I use the code follow:
IPowerManager.Stub.asInterface(ServiceManager.getService
(Context.POWER_SERVICE)).goToSleep(6)
But it
Now I use the code follow:
IPowerManager.Stub.asInterface(ServiceManager.getService
(Context.POWER_SERVICE)).goToSleep(6)
But it still does not work.
On Jul 21, 9:07 am, Sansiro wangjiangfeng0...@gmail.com wrote:
I know that there is a PowerManager class and a goToSleep method in
SDK
4 matches
Mail list logo