Android AlarmManager

Email this to someonePrint this pageShare on Google+0Share on Facebook14Tweet about this on TwitterShare on LinkedIn0Share on Reddit0Pin on Pinterest0Share on StumbleUpon3

By the help of Android AlarmManager in android, you can schedule your application to run at a specific time in the future. It works whether your phone is running or not.

The Android AlarmManager holds a CPU wake lock that provides guarantee not to sleep the phone until broadcast is handled.

Android AlarmManager Example

Code for “Create Alarm Manager in Android”. And Notification Manager with sound and vibration.

1)MainActivity

2)-OutPut.java

3)-Manifest.xml

Output:

Android AlarmManager

Email this to someonePrint this pageShare on Google+0Share on Facebook14Tweet about this on TwitterShare on LinkedIn0Share on Reddit0Pin on Pinterest0Share on StumbleUpon3

About Team

Browse Archived Articles by Team