Setting Reminder/trigger alarm on user defined date and time

强颜欢笑 提交于 2019-12-13 01:43:47

问题


I have trouble implementing Reminder for my app.i did research but couldnt find proper solution. what i want is:

i am developing an android app which has one feature to remind users about the selected event 30 min before event start.

i will be displaying the date and time of the event in textview,on click of reminder button reminder will set 30min before event. how can i proceed to implement this.

  • Note: i dont want to use date/time picker, specific date and time will be taken directly from text view which i will display.

Any suggestion/links with logic please help.

  • if any one can help dn please tell me the logic to add future,date + hours + minutes to current time to set alarm(date and time will be taken from textview)

来源:https://stackoverflow.com/questions/33471896/setting-reminder-trigger-alarm-on-user-defined-date-and-time

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!