alarmmanager - Alarm manager not calling exact time in android application. I have to call alarm after every 15 sec -
this question has answer here:
alarmmanager manager = (alarmmanager)mainactivity.this.getsystemservice(context.alarm_service); intent intent = new intent(mainactivity.this, demoreceiver.class); pendingintent pendingintent = pendingintent.getbroadcast(mainactivity.this, 0, intent, pendingintent.flag_cancel_current); manager.setinexactrepeating(alarmmanager.rtc, 0, 20000, pendingintent);
i set 20 sec time interval call alarm taking 1-1.10 min call
which android version using ?
apparently cannot set short intervals in android alarmmanager.