Since there appeard to be many confusions about alarm manager and notification manager here is a simple android application which uses the alarm manager to display a notification at a user set time (here seconds). I have added a vibration when the notification pops up instead of an alarm to make the code simpler. You can use a ringtone by using a ringtone manager ringtone picker is also available.
nobodyme / alarm-notifi Goto Github PK
View Code? Open in Web Editor NEWA simple android application which uses the alarm manager to display a notification at a user set time