In m,y android application i would like to use time which do not come from device but a standard time that the user cannot change. Is there any way to do this.
Please share your valuable suggestions.
Thanks in advance:)
You can use NTP for fetching the time from any of the public NTP servers. You can read the example SNTP client code for java here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With