1. HUGE Androidforums.com UPDATE! Learn what's new (and download the new app!)
    Dismiss Notice

How do I time an action?

Last Updated:

  1. mathkid95

    mathkid95 Member This Topic's Starter

    May 29, 2010
    Likes Received:
    I am not sure what class to use to time a certain action in Android. I tried using the Time class, but it didn't work. I want to use a class where i can get a starting time before an action, get the time at the end of an action, and subtract the end and the first to get the total time taken to do an action. I need these to be ints or doubles so I can subtract them. Thanks!


Share This Page