Android Question sntp.getGmtNtpTime

Filippo

Expert
Licensed User
Hi,

I use the library "SPSntp" at the time to pick up from the internet.
Unfortunately, I have found a mistake.

If that is in manifest, then it works.
B4X:
<uses-sdk android:minSdkVersion="8"/>
Log: sntp.getGmtNtpTime=1399061030863

But if that is in manifest, then it does not work.
B4X:
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="19"/>
Log: sntp.getGmtNtpTime=-1
 
Top