1. Download our Official Android App: Forums for Android!

request..timer every 2 hours..

Discussion in 'Android Apps & Games' started by techker, Jun 6, 2011.

  1. techker

    techker Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    46
    Posts:
    164
    Joined:
    Jun 30, 2010

    Jun 30, 2010
    164
    3
    46
    Male
    jr android programmer
    montreal
    Hey guys i need an app that can notify me every 2 hours starting from a given time?

    like start 9am and notify me every 2 hours starting from that time. till 10pm

    is that possible??
     

    Advertisement

  2. Scythe

    Scythe Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    106
    Joined:
    Apr 6, 2010

    Apr 6, 2010
    106
    27
    43
    I'm sure there's an app that does this already on the market. The Android AlarmManager can handle the actual "every 2 hour" callback. Very easy to write.
     
  3. techker

    techker Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    46
    Posts:
    164
    Joined:
    Jun 30, 2010

    Jun 30, 2010
    164
    3
    46
    Male
    jr android programmer
    montreal
    i will look in to it..say easy to write?

    im looking for a good tutorial site for starting to write android apps..
     
  4. Scythe

    Scythe Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    106
    Joined:
    Apr 6, 2010

    Apr 6, 2010
    106
    27
    43
    Yeah, look up a tutorial on using AlarmManager. Should help ya learn how to code it if you're into wanting to learn.
     
  5. techker

    techker Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    46
    Posts:
    164
    Joined:
    Jun 30, 2010

    Jun 30, 2010
    164
    3
    46
    Male
    jr android programmer
    montreal
    ok cool!
     

Share This Page

Loading...