我正在为android开发一个警报应用程序。 来自用户的输入:时间(时间对话框),重复天数(太阳,周一,周二.....),每周重复一次(是或否)和音调。 用户点击保存后我必须使用报警管理器启动报警。 现在我有很多困惑。根据android设置报警使用相同的待定意图多次没有效果,只有最新的一个生效。 现在我的问题是: 我有两个用例 1.user选择时间和重复天数(例如:星期一,星期三,坐着)和不用重复每周 2.user选择时间和重复几天(例如:周一,周二,周三)和是每周重复一次。 这里如何启动每个警报。
I am developing a alarm application for android. Inputs from user : Time(TIme dialog), Repeat days(sun,mon,tue .....), Repeat weekly(yes or no) and tone. After user clicks on save I have to start a alarm using alarm manager. Now I have lot of confusion. According to android setting alarm using same pending intent multiple times has no effect and only latest one takes effect. Now my question is: I have two use cases 1.user selects time and repeat days(for example: mon, wed, sat) and no for repeat weekly 2.user selects time and repeat days(for example: mon,tue,wed) and yes for repeat weekly. here how to start each alarm.
推荐答案
更多推荐
如何管理我的警报应用程序的警报
发布评论