forum

Home / DeveloperSection / Forums / Alarmmanager fire on every time in android

Alarmmanager fire on every time in android

Anonymous User208207-Nov-2014

 Alarmmanager fire on every time in android

Like @mighter said, API >= 19 if you must use exact timing, use the setExact() API.

if(android.os.Build.VERSION.SDK_INT <19){ alarmManager.setRepeating(AlarmManager.RTC, utcMillisNextMin(), 60000, createClockTickIntent(_context));
} else {
    alarmManager.setExact(...);
}

Updated on 07-Nov-2014
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By