你好我工作的应用程序,我已经设置通过后台服务的用户输入的日期和时间的通知。现在我想每天设置通知/报警下午6时询问用户他想要添加其他的记录? 我怎样才能做到这一点?我应该使用相同的后台服务和广播接收器? 请给我更好的解决方案和指导将是伟大的想法。 先谢谢了。
Hi I am working on application where I have set the notification on user entered date and time through background service. Now I want to set notification/alarm daily at 6 pm to ask user does he want to add another entry? How can I achieve this? Should I use the same background service or Broadcast receiver? Please give me better solution for that and tutorial will be great idea. Thanks in advance.
推荐答案HTTP: //developer.android/reference/android/widget/DatePicker.html developer.android/training/scheduling/alarms.html developer.android/reference/android/app/Activity.html developer.android/reference/android/app/Service.html
使用报警来安排的通知,并根据所使用的活动或服务的要求。你会发现大量的实例各地。
Use alarm to schedule the notification and based on the requirements used activity or service. You will find many example around.
更多推荐
如何在每天特定的时间在Android中,通过后台服务重复通知
发布评论