android-wake-lock
BroadcastReceiver, Service and Wakelock
im receiving an intent in broadcast receiver and then i start service to do more work. now what if the devi开发者_开发百科ce is sleep and this happen, do i have to get Wakelock (AlarmManger?), and why[详细]
2023-02-26 18:31 分类:问答Acquiring PARTIAL_WAKELOCK every 10 seconds
Is there any problem with an application which acquires a partial wake lock at 10 second intervals. My use-case for this is being able to continually monitor the user\'s movement via the device accele[详细]
2023-02-25 13:07 分类:问答What events can wake up a sleeping Android device?
I am writing a Android client app which keeps receiving push notifications from a server using HTTP long-polling(Comet).[详细]
2023-02-23 05:25 分类:问答How do I implement an Account on Android without a SyncAdapter
I am implementing a login system for an Android application utilizing the built-in accounts system (with the AccountManager APIs).[详细]
2023-02-18 14:30 分类:问答Android - How can I wake up the phone from a hard sleep to take a picture?
I want to take pictures from the Android device\'s camera periodically over a matter of hours, to create a time lapse video effect.[详细]
2023-02-15 08:59 分类:问答Android - Wake lock not acquiring properly, app needs to keep running in standby
In my app, in the onCreate() method of the main activity I am creating a wake lock so that the CPU will keep running if the phone goes on standb/screen turns off.[详细]
2023-02-11 06:04 分类:问答Does the Android OS release a wakelock if the app or service holding it is killed?
I have question about wakelock. In cases shown below, does android OS release wakelock (PARTIAL_WAKE_LOCK if you need to specify) to prevent wakelock was left acquired and wasting battery until turnin[详细]
2023-02-04 16:10 分类:问答Wakelock Reference Count
Can anyone explain what this method of开发者_开发问答 PowerManager.Wakelock is for? setReferenceCounted[详细]
2023-01-30 01:53 分类:问答SMS gateway how to program android app [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-01-27 15:06 分类:问答How do you safely implement WakeLock across multiple activites
I wish to provide the users of my application the ability to keep the screen on using a WakeLock. In my main activity I have created the following function:[详细]
2023-01-26 19:08 分类:问答