difference between RTC and RTC_WAKEUP in android

CodingRat picture CodingRat · May 10, 2012 · Viewed 10.2k times · Source

i am new to android i have to perform some operation after every 30 min whether my application is running or not so i want to how to perform these operation using service and alarm manager any example or running will be helpfull

Answer

Tarun picture Tarun · May 10, 2012

Use RTC_WAKEUP if you want your service to perform some operation every 30 min as RTC_WAKEUP will wake the device up and deliver the pending intent. On the other hand RTC will deliver the intent only when the device wakes up.