How can I send a notification like a reminder, even the application are closed.
For example, when we register an event on calendar and the calendar send a notification 10 minutes (i.e.) before event start. How can I do that on my application??
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The most appropriate mechanism available in Android for doing this would most likely be the system alarms.
Alarms allow you to execute a piece of code at a given point in time. Even if your app is not currently working or the phone is sleeping.
To learn more about alarms visit the official developers reference HERE