How to Obtain the Current Location of a Terminal: Difference between revisions

From wizarPOS
No edit summary
Line 1: Line 1:
Please reference to the [https://developer.android.com/training/location/index.html User Location] of Android SDK.
Please refer to the [https://developer.android.com/training/location/index.html User Location] of the Android SDK.


Please notice that in Q2/K2, if use the terminal without GPS module, so it depends on the network location.
Note that in Q2/K2, if you use a terminal without a GPS module, it depends on the network location.


If third-party app runs in device without google play service, and the app use network provider to get location, please download and install the [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/advanceSDK/MozillaNlpBackend_org.microg.nlp.backend.ichnaea_20033.apk backend apk] and [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/advanceSDK/unifiednlp-app-NetworkLocation-release_1.6.9_NoUI.apk nlp apk], restart device, then the third-party app can get location correctly.
If an application runs in a device without Google play service, and the application uses a network provider to get the location, download and install the [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/advanceSDK/MozillaNlpBackend_org.microg.nlp.backend.ichnaea_20033.apk backend apk] and [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/advanceSDK/unifiednlp-app-NetworkLocation-release_1.6.9_NoUI.apk nlp apk], restart the device, and the application can get the location correctly.

Revision as of 08:32, 24 March 2020

Please refer to the User Location of the Android SDK.

Note that in Q2/K2, if you use a terminal without a GPS module, it depends on the network location.

If an application runs in a device without Google play service, and the application uses a network provider to get the location, download and install the backend apk and nlp apk, restart the device, and the application can get the location correctly.