android programming - postpone alarm manager's pending intent -


i writing reminder android application. able create reminders using alarm manager , pending intents, not sure how postpone them.

here how create reminder...

alarmmanager mgr = (alarmmanager) c.getsystemservice(context.alarm_service); inent notificationintent = new intent(c, reminderalert.class); notificationintent.putextra("rem_name",remname ); pendingintent pi = pendingintent.getbroadcast(c, unique id reminder, notificationintent,pendingintent.flag_update_current);             mgr.set(alarmmanager.rtc_wakeup,remtime, pi); 

i able intent used in pending intent...

how postpone alarm manager , pending intent new time (as long)?

set brand new alarm new time.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -