33 lines
1.6 KiB
Markdown
33 lines
1.6 KiB
Markdown
# Location samples
|
|
|
|
The samples in this directory address various scenarios of building location aware apps
|
|
- [Location Permissions](src/main/java/com/example/platform/location/permission/LocationPermissionsScreen.kt)
|
|
- [Get Current Location](src/main/java/com/example/platform/location/currentLocation/CurrentLocationScreen.kt)
|
|
- [Receive Location Updates](src/main/java/com/example/platform/location/locationupdates/LocationUpdatesScreen.kt)
|
|
- [Background Location Access](src/main/java/com/example/platform/location/bglocationaccess/BgLocationAccessScreen.kt)
|
|
- [Create and Monitor Geofences](src/main/java/com/example/platform/location/geofencing/GeofencingScreen.kt)
|
|
- [User Activity Recognition](src/main/java/com/example/platform/location/useractivityrecog/UserActivityRecognitionScreen.kt)
|
|
|
|
> **Important:** All samples run independent of each other.
|
|
|
|
These samples showcase the use case in a simplified manner. For more details on how to build location
|
|
aware apps please refer https://developer.android.com/training/location
|
|
|
|
## License
|
|
|
|
```
|
|
Copyright 2022 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
```
|