How do I time an action?


Last Updated:

  1. mathkid95

    mathkid95 Member This Topic's Starter

    Joined:
    May 29, 2010
    Messages:
    21
    Likes Received:
    0
    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!
     

    Advertisement

Share This Page

Loading...