Android Running SQL statement in background
问题 I am having some trouble with Alarm manager in Android. What I've encountered is when I set the alarm to repeat for every single minute, it works: mgr.setInexactRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), 60000, pi); However, when I try to set it to run the notification once per day, it does not work: mgr.setInexactRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, pi); This is the part where I execute the Alarm manager. This method