Brad,

Please see this thread, it has links to documentation and sample code.

http://groups.google.com/group/android-developers/browse_thread/thread/a7012ecb43d87199

-- Kostya

18.04.2011 17:12, Brad Stintson ?????:
Hey Mark,

Since I am new to android programming, could you please elaborate your suggestion and may be provide a sample code if possible. Thanking you in advance.

Brad

On Mon, Apr 18, 2011 at 6:33 PM, Mark Murphy <[email protected] <mailto:[email protected]>> wrote:

    On Mon, Apr 18, 2011 at 8:47 AM, Brad Stintson
    <[email protected] <mailto:[email protected]>> wrote:coul
    > How to notify user at a specific time fetched from the database?

    Use AlarmManager, a BroadcastReceiver, and a Notification.

    > Moreover,
    > how to retain the state of the data even after system reboot?

    Use the above, plus a BroadcastReceiver set to receive the
    BOOT_COMPLETED broadcast, to restore your AlarmManager alarms.

    --
    Mark Murphy (a Commons Guy)
    http://commonsware.com | http://github.com/commonsguy
    http://commonsware.com/blog | http://twitter.com/commonsguy

    Android Training in London: http://bit.ly/smand1, http://bit.ly/smand2

    --
    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

Reply via email to