Ruch1234
Ruch1234

Reputation: 111

How to set an notification for a day before the selected date on android

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

Answers (1)

user3535747
user3535747

Reputation: 253

Take a look on AlarmManager. It should help you to schedule operations.

Upvotes: 1

Related Questions