Best way to handle reminders?


Last Updated:

  1. flyingcowofdoom

    flyingcowofdoom New Member This Topic's Starter

    Joined:
    Jul 16, 2010
    Messages:
    2
    Likes Received:
    0
    Hello all. I'm trying to write an app that allows me to set reminders at a future time. I want the app to send a notification at the pre-designated time. I am having some trouble figuring out the best way to manage the reminders. Should I write a service that starts at boot time that checks the clock every minute to see if any reminders expired? Would it be better to use the AlarmManager service? This app needs to automatically start at boot time so that the reminder notifications occur even after a restart, without the user having to start the app manaully. Any suggestions?

    TIA!

    --FCOD
     

    Advertisement
  2. jonbonazza

    jonbonazza Well-Known Member

    Joined:
    Jul 13, 2010
    Messages:
    1,934
    Likes Received:
    458
    Best bet would be a service. If it were me, I would write my own service rather than implement a pre-exisiting one.
     

Share This Page

Loading...