To trigger these services at specific intervals. If your app relies on background services, consider using If your app is synchronizing data from an external server, consider creating a If your app is performing long-running HTTP downloads, consider using Alternatives to using wake locksīefore adding wakelock support to your app, consider whether your app's useĬases support one of the following alternative solutions: Incompatible with the requirements of your app. The following sectionsĭescribe how to handle the cases where the device's default sleep behavior is Of thumb is that you should use the most lightweight approach possible for yourĪpp, to minimize your app's impact on system resources. The approach you take depends on the needs of your app. Or the CPU and keep it awake to complete some work. However, there are times when an application needs to wake up the screen To avoid draining the battery, an Android device that is left idle quickly fallsĪsleep.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |