android - Alarm manager setRepeating for only fixed number of days -


i need set alarm, go off, @ particular time fixed number of days. aware of setrepeating method, keep triggering alarm, after specified time interval. need trigger specified time duration.

for eg: have 'start date', 'end date', 'interval' , 'time trigger' user. alarm should trigger start date end date. how should implement this?

check whenever alarm schedule check if end_date has reached , if has cancel alarm , or use alarmmanager set method set alarm each time after checking end date


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -