Java (Android Studio) Tutorial – Notification App –

Java ( Android Studio ) – Notification App –

Java ( Android Studio ) - Notification App -


 

 

Introduction

In this video, I’ll show you how to display Notification on your phone.
Notification is very general function for mobile apps, so there’s no harm in knowing about it 🙂
 

There are 3 steps to show notification:
1. Set Alarm (AlarmManager)
2. Receive Alarm (BroadcastReceiver)
3. Notify (NotificationManager & Notification.Builder)

 

Hope you enjoy!

 

* Some methods are deprecated in API 26, but you can still use them.
I selected minimum API 16 in this video, so I left them as they were.

 
 

Environment

Android Studio: 3.0.1
Emulator: Genymotion(Nexus4)

 
 

Download

 

About Sara

Working as a freelance programmer in Japan. I'll try to make coding as simple as possible. Hope you enjoy coding 🙂