I need to do background GPS tracking on an Android phone, and I\'m currently planning on having two scenarios:
I\'m writing an Android app that mostly communicates with the user via status bar notifications.However, I would like to not bother the user if s/he is not really directly interacting with their phone
I am looking for a way to allow my program to make the phone vibrate after the screen has turned off from timing out. I have done lots of research, and have not foun开发者_运维问答d something that wor
Even after a lot of research I am still not completely sure if the way how I implement a WakeLock for a Service started by a BroadcastReceiver is correct - even though it seems to work fine. The broad
I have to use the wakelock (yes I shouldn\'t for the obvious reaso开发者_开发问答ns but I\'m being paid to do it so I don\'t have a choice lol)
As stated by the AlarmManager docs: http://developer.android.com/reference/android/app/AlarmManager.html#RTC_WAKEUP
My objective is to be able to scan changes in Wi-Fi networks (mainly to check what networks are available). Right know I\'m doing it by registering a reciever:
I am trying to turn on and off the display after a certain action happens (Lets just worry about turning the screen off for now). From what I understand from wake lock, this is what I have:
When does NotificationManager.notify() require WAKE_LOCK permission on Android 2.2? I received following stack trace from one user:
I\'m using handler to repeatedly prompt user for an input every e.g. 5 minutes. When the device goes into sleeping mode and screen is locked, how can I wake the device up when my app prompts user for