Skip to content Skip to sidebar Skip to footer

Android Notify The User At A Later Time

I want to create an application in android in which the user selects a certain day in the future and then, when that day arrives he will get a notification (I know that this can be

Solution 1:

Both problems are solved by a 'status bar notification'

http://developer.android.com/guide/topics/ui/notifiers/notifications.html

You can add a sound to this to alert the user.

If the user is 'asleep' i.e. the phone is on silent I believe the notification won't make a sound.

A notification does not need a time of day as you can 'notify' at the very start of the day and the user will see it when they first check there phone that day, so time is irrelevant.

You will have a service that runs to check the data yes, then start this notification. It may be possible to have an event listener for some given event that would start your service that would then check the date, and if so post your notification!

Here is my tutorial on this: http://blog.blundellapps.com/notification-for-a-user-chosen-time/

Enjoy!

Post a Comment for "Android Notify The User At A Later Time"