D Deleted member 103 Guest May 2, 2014 #1 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
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
D Deleted member 103 Guest May 3, 2014 #2 Problem solved! Who can read has a big advantage, you have to start a second thread as shown in the example. http://www.b4x.com/android/forum/threads/spsntp-getting-time-from-the-internet.16864/ Upvote 0
Problem solved! Who can read has a big advantage, you have to start a second thread as shown in the example. http://www.b4x.com/android/forum/threads/spsntp-getting-time-from-the-internet.16864/