Please accept YouTube cookies to play this video. By accepting you will be accessing content from YouTube, a service provided by an external third party.

YouTube privacy policy

If you accept this notice, your choice will be saved and the page will refresh.

 

Show the video description

In this video we will learn, how to use the Alarm Manager in Android to send a notification at a desired time in the future. For this we will create a BroadCastReceiver, override it’s onReceive method and call it using a PendingIntent. We will use the setExact method and RTC_WAKEUP to fire the alarm at a specific time.