Here is one example that does pretty much what you asked for:
http://www.androidcompetencycenter.com/tag/alarmmanager/
-- Kostya
09.03.2011 21:14, Brad Stintson пишет:
Can u please provide sample code?
I am new to this.
On Wed, Mar 9, 2011 at 11:31 PM, Kostya Vasilyev <[email protected]
<mailto:[email protected]>> wrote:
09.03.2011 20:53, Brad Stintson пишет:
How to create status bar notification which notifies me every
day at 10 am?
1 - Use AlarmManager to schedule reliable, persistent (until
reboot) alarms that trigger a BroadcastReceiver in your application.
http://developer.android.com/reference/android/app/AlarmManager.html
2 - Use NotificationManager to display the notification.
http://developer.android.com/guide/topics/ui/notifiers/index.html
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
[email protected]
<mailto:[email protected]>
To unsubscribe from this group, send email to
[email protected]
<mailto:android-developers%[email protected]>
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en