问题
In my application i need to deploy a some kind of reminder. that every day at any fixed time my application generate a notification..
- and it happens if my application is running or not. (e.g by using background service)
I am able to generate notification, but im un able to create logic to generate it every day. Please help if any one understand what i want. Thanks in advance.
回答1:
See below link and this is work for me.
Create alarm set on a specified time, using AlarmManager
Repeat alarm everyday accurately
来源:https://stackoverflow.com/questions/40310964/i-want-to-generate-android-notification-or-alarm-every-day