Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haxgert/geo-location-kotlin
https://github.com/haxgert/geo-location-kotlin
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/haxgert/geo-location-kotlin
- Owner: haxgert
- License: mit
- Created: 2023-08-16T10:43:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-16T10:51:33.000Z (over 1 year ago)
- Last Synced: 2023-11-03T20:30:01.254Z (about 1 year ago)
- Language: Kotlin
- Size: 135 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Android Kotlin app for tracking the device's Geo location
## Overview
This is an Android sample app written in Kotlin which shows how to track the devices geo-location.## Highlights:
* Request coarse and fine location permission
* Handle different permission allow and deny responses
* Set up fusedLocationProvider client and locationRequest
* Start and stop location tracking
* Display latitude and longitude results in the UI## Getting Started
1. Cone the project from GitHub```
https://github.com/haxgert/Geo-Location-Kotlin.git
```
2. Build the project in Android Studio
3. Configure emulator to set a mock location or route
3. Deploy on emulator or device.## Versions used
* Android Studio 4.2
* Android API 29## Sample App Usage
1. Press the 'Start Tracking' button to start the request permission flow.
2. Once the permission is granted, a latitude and longitude should be displayed
3. Use the 'Stop Tracking' button to stop tracking a geo location.