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

From wizarPOS
No edit summary
(Replaced content with "{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/other-development/obtain-terminal-current-location}}")
Tag: Replaced
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== Overview: ==
{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/other-development/obtain-terminal-current-location}}
This guide demonstrates how to develop a simple application using the Android SDK that tracks the [https://developer.android.com/training/location/index.html User Location]. You can download [http://ftp.wizarpos.com/advanceSDK/GPSDemo_en_AS.zip the demo].
== Handling Different Terminal Models (Q2/K2): ==
* '''Terminals Without GPS Module:''' For terminals lacking a GPS module, location tracking relies on network-based location services.
* '''Settings for Accurate Location:''' Ensure that the 'Location' setting on the terminal is turned on. For better accuracy, set the Location mode to either 'High accuracy' or 'Battery saving'.
== Working with Devices without Google Play Services: ==
* '''Importance for Network Provider-Based Applications:''' If your application uses a network provider for location services and is running on a device without Google Play Services, additional steps are necessary.
* '''Installing Required APKs:''' 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] on the device.
* '''Device Restart:''' After installation, restart the device to ensure proper functioning.
* '''Result''': Post-restart, the application should be able to accurately fetch the location.

Latest revision as of 03:18, 8 April 2024

Please visit new link of same subject:

https://smartpossdk.gitbook.io/cloudpossdk/faq/other-development/obtain-terminal-current-location

We're making a move! Our site's content is migrating to a new URL, to provide you with an enhanced browsing experience. Please update your bookmarks accordingly. Thank you for your continuous support!