Android: Get Atomic Time

前端 未结 1 1701
無奈伤痛
無奈伤痛 2021-01-14 22:14

I\'m trying to get the atomic time for an Android app. I\'m using http://hi-android.info/src/android/net/SntpClient.java.html as NTP client and the following code to impleme

相关标签:
1条回答
  • 2021-01-14 23:19

    Found my mistake! I didn't know that I had to process the ntp task in the background ... I solved the problem with Androids AsyncTask function. Thanks to all who helped me!

    0 讨论(0)
提交回复
热议问题