Reputation: 111
I get the date values from MySQL through JSONArray. Then it is displayed in a textview and when on click the set alarm button it will set the notification on that date and time. All worked fine.
But i need to set the alarm before the selected date and before 5mins. How can i set it in JAVA Android.
Upvotes: 0
Views: 318
Reputation: 253
Take a look on AlarmManager. It should help you to schedule operations.
Upvotes: 1