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

From wizarPOS
No edit summary
No edit summary
Line 3: Line 3:
A simple demo develop using Android SDK, please [http://ftp.wizarpos.com/advanceSDK/GPSDemo_en_AS.zip downlod here].
A simple demo develop using Android SDK, please [http://ftp.wizarpos.com/advanceSDK/GPSDemo_en_AS.zip downlod here].


   Note that in Q2/K2, if you use a terminal without a GPS module, it depends on the network location. To use network location, please make sure in the terminal, Location is On and Location mode is High accuracy.
   Note that in Q2/K2, if you use a terminal without a GPS module, it depends on the network location. To use network location, please make sure in the terminal, Location is On and Location mode is High accuracy or Battery saving.
   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 [http://ftp.wizarpos.com/advanceSDK/MozillaNlpBackend_org.microg.nlp.backend.ichnaea_20033-q1_platform.apk backend apk] and [http://ftp.wizarpos.com/advanceSDK/unifiednlp-app-NetworkLocation-release_1.6.9_NoUI-q1_platform.apk nlp apk], restart the device, and the application can get the 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 [http://ftp.wizarpos.com/advanceSDK/MozillaNlpBackend_org.microg.nlp.backend.ichnaea_20033-q1_platform.apk backend apk] and [http://ftp.wizarpos.com/advanceSDK/unifiednlp-app-NetworkLocation-release_1.6.9_NoUI-q1_platform.apk nlp apk], restart the device, and the application can get the location correctly.

Revision as of 08:34, 20 September 2023

Please refer to the User Location of the Android SDK.

A simple demo develop using Android SDK, please downlod here.

 Note that in Q2/K2, if you use a terminal without a GPS module, it depends on the network location. To use network location, please make sure in the terminal, Location is On and Location mode is High accuracy or Battery saving.
 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.