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
Post a Comment