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

Apps How do I time an action?

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

  1. mathkid95

    mathkid95 Newbie
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    21
    Joined:
    May 29, 2010

    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...