• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

time help

mathkid95

Newbie
May 29, 2010
21
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?
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones