Search code examples
androidalarmmanager

AlarmManager to simply update data without waking up screen


AlarmManager to simply update data without waking up screen

How do I do this ?? I want to update my Call and Data usages values in background at intervals without waking up my display screen


Solution

  • Instead of alarmmanager write a service. It will work at background. I think these links will help you. http://www.vogella.com/articles/AndroidServices/article.html http://developer.android.com/reference/android/app/Service.html