Time displayed in Logcat

前端 未结 6 653
野趣味
野趣味 2021-02-01 13:45

I need to get the Android device timestamp in the format hh:mm:ss:SS. I am able to view the time displayed in the Logcat of Eclipse. Is it the computer\'s time or is it the Andr

6条回答
  •  抹茶落季
    2021-02-01 14:12

    If you are running your app on Android device then it will print device's time, if on emulator then it will show computer's time.

    To be ensure just match the Log's time with device's time and with computer's time you will find your answer..

提交回复
热议问题