1

Time intervals for repeating alarm in AlarmManager are not always as they should be

view story
linux-howto

http://stackoverflow.com – I have set a repeating alarm using AlarmManager this way: AlarmManager alarmMgr = (AlarmManager)getSystemService(Context.ALARM_SERVICE); alarmMgr.setRepeating (AlarmManager.RTC_WAKEUP, System.currentTimeMillis() + 100, 10000, mPendingIntent); registerReceiver(new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { sharedPrefsEditor.putString(TIMER_LOG_KEY, sharedPrefs.getString(TIMER_LOG_KEY, "") + Calendar.getInstance().getTimeInMillis() + "|"); sharedPrefsEditor.commit(); } }, (HowTos)