1. Check out our companion app, Forums for Android! Download from Google Play

How do I time an action?

Discussion in 'Application Development' started by mathkid95, May 30, 2010.

  1. mathkid95

    mathkid95 Member
    Thread Starter
    15

    May 29, 2010
    21
    0
    15
    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...