开发者

use of ntp service

开发者 https://www.devze.com 2023-04-11 11:10 出处:网络
I\'m developing an app that needs to control real time in any location on the Earth and do something when time comes. At the same time n开发者_StackOverflowot to rely on system time because user can e

I'm developing an app that needs to control real time in any location on the Earth and do something when time comes. At the same time n开发者_StackOverflowot to rely on system time because user can easily change it.

Does anybody have an experience of implementing "sntp/ntp" service on android device or is there any other solution to do it? Thanks


Check out the SNTP client code at:

https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/net/SntpClient.java

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号