Results 1 to 7 of 7

Thread: J2ME Reaction time app

  1. #1
    HEXUS webmaster Steve's Avatar
    Join Date
    Nov 2003
    Posts
    14,283
    Thanks
    293
    Thanked
    841 times in 476 posts

    J2ME Reaction time app

    Anybody know of such a thing?

    I am looking for an app that tests a users time to pressing a button when the screen changes colour.

    Cheers,
    Kez.
    PHP Code:
    $s = new signature();
    $s->sarcasm()->intellect()->font('Courier New')->display(); 

  2. #2
    Registered+
    Join Date
    Mar 2004
    Posts
    21
    Thanks
    0
    Thanked
    0 times in 0 posts
    I did J2ME for my Masters Dissertation and I found the best place to find out stuff regarding J2ME is J2ME.org

    Hope that helps,
    vaughty

  3. #3
    HEXUS webmaster Steve's Avatar
    Join Date
    Nov 2003
    Posts
    14,283
    Thanks
    293
    Thanked
    841 times in 476 posts
    Thanks, but I've collected my results now using other means.

    I'll still check out the site though.
    PHP Code:
    $s = new signature();
    $s->sarcasm()->intellect()->font('Courier New')->display(); 

  4. #4
    IRN-BRU(tm)
    Join Date
    Aug 2004
    Location
    Milton Keynes
    Posts
    484
    Thanks
    8
    Thanked
    9 times in 7 posts
    just take the current time milliseconds
    my friend psuedo says:
    timeToStart = System.currentTimeMillis()
    showScreen()
    //wait for reaction
    reactionTime = timeToStart - System.currentTimeMillis()

  5. #5
    HEXUS webmaster Steve's Avatar
    Join Date
    Nov 2003
    Posts
    14,283
    Thanks
    293
    Thanked
    841 times in 476 posts
    Yeah I understand the programming concept and that's how I would do it... but I know ZERO Java.
    PHP Code:
    $s = new signature();
    $s->sarcasm()->intellect()->font('Courier New')->display(); 

  6. #6
    IRN-BRU(tm)
    Join Date
    Aug 2004
    Location
    Milton Keynes
    Posts
    484
    Thanks
    8
    Thanked
    9 times in 7 posts
    fair enough that is the java if you still need to know, except stick long infront of the timeTostart variable and reaction time.

    System.out.println("time = " + reactionTime)
    will give you the output

  7. #7
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Hehe, java is easy peasy, just look up in the API for reference.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. What is the best movie of all time?
    By Martin in forum Consumer Electronics
    Replies: 49
    Last Post: 28-01-2004, 09:13 PM
  2. losing time
    By 5cupa in forum PC Hardware and Components
    Replies: 2
    Last Post: 03-12-2003, 03:28 AM
  3. long time player; first time forum
    By PubZombie in forum PC
    Replies: 30
    Last Post: 06-11-2003, 07:38 PM
  4. Its Christmas time, upgrade time...
    By Rabs in forum PC Hardware and Components
    Replies: 5
    Last Post: 06-11-2003, 05:11 PM
  5. is this hype?9800 pro owners beware
    By CrapshoT in forum Graphics Cards
    Replies: 9
    Last Post: 16-10-2003, 02:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •