1

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??

1 Answer 1

6

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

1
  • Yes. An AlarmManager coupled with a BroadcastReceiver is what you are looking for. Check Paul's link.
    – dennisdrew
    Sep 25, 2012 at 16:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.