1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

time help


Last Updated:

  1. mathkid95

    mathkid95 Member This Topic's Starter

    Joined:
    May 29, 2010
    Messages:
    21
    Likes Received:
    0
    Hi, I have a question on the times in android.

    Say I want to get the current time with milliseconds too, and it displays it. I then have a button which, when I click, opens up a new screen. If I stay on the new screen for some time, then click on the back key, showing the previous screen, the time should be updated to the millisecond.

    so basically,

    1. show the current time with millisecs
    2. Once you click on the button and open another activity/screen, stay on that for let's say, 3 min.
    3. Click the back key on the emulator/phone, and open up the previous time screen. That time needs to increment by 3 minutes.

    I tried using SystemClock, but it didn't work. Can you please help me??


    And maybe this time someone can actually answer the damn question?
     

    Advertisement

Share This Page

Loading...