Difference between setRepeating and setInexactRepeating of AlarmManager
问题 What are the parameters of the following: alarmMgr.setRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_FIFTEEN_MINUTES, alarmIntent); And of the following: alarmMgr.setInexactRepeating(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), AlarmManager.INTERVAL_DAY, alarmIntent); What is the difference and also how are the two different in terms of functionality? 回答1: Both examples schedule a repeating alarm that will send the given alarmIntent . On both