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

Random Timer

Discussion in 'Android Lounge' started by nonc, Feb 23, 2010.

  1. nonc

    nonc Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Feb 23, 2010

    Feb 23, 2010
    2
    0
    5
    Hey all,

    I'd like an app to help me play some games. I need a timer but ideally it would go off at a random time, say between 60 seconds and 90 seconds. When it will go off should not be displayed on the screen.

    I think this would be quite a simple app to make. The only inputs are the lower boundary and the upper boundary and to start it.

    I can think of other things it could do as well, but that might make it unnecessaryly complicated, such as making a probability distribution for when it goes off, like a bell curve.

    Hope somebody can whip this up for me,

    cheers

    nonc
     

    Advertisement

  2. Madonkadonk

    Madonkadonk Lurker
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Feb 28, 2010

    Feb 28, 2010
    3
    0
    5
    Ok, I can do that
     
  3. Madonkadonk

    Madonkadonk Lurker
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Feb 28, 2010

    Feb 28, 2010
    3
    0
    5
    Ok, its done, just search Times Up! or scan this:
    [​IMG]
     
  4. nonc

    nonc Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Feb 23, 2010

    Feb 23, 2010
    2
    0
    5
    Cheers Maonkadonk,

    It does what i asked, however, if I asked you to make some simple changes would you?

    One would be to change the way you input the time to the same way you input the time on the alarms. And to let it remember the times you input, so that you don't have to keep putting it in every time. Also there is a long pause between the last click and the timer going off that gives away the fact that its about to go off, this being removed would much improve it.

    Cheers
     

Share This Page

Loading...