├── .github ├── scripts │ └── gradlew_recursive.sh └── workflows │ ├── build.yaml │ └── copy-branch.yml ├── .gitignore ├── ActivityRecognition ├── .gitignore ├── .google │ └── packaging.yaml ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── google │ │ │ └── android │ │ │ └── gms │ │ │ └── location │ │ │ └── sample │ │ │ └── activityrecognition │ │ │ ├── ActivityRecognitionApp.kt │ │ │ ├── BootReceiver.kt │ │ │ ├── DetectedActivityReceiver.kt │ │ │ ├── MainActivity.kt │ │ │ ├── MainViewModel.kt │ │ │ ├── PermissionUtils.kt │ │ │ ├── data │ │ │ ├── ActivityTransitionManager.kt │ │ │ ├── AppPreferences.kt │ │ │ ├── PlayServicesAvailabilityChecker.kt │ │ │ └── db │ │ │ │ ├── ActivityTransitionDao.kt │ │ │ │ ├── ActivityTransitionRecord.kt │ │ │ │ ├── AppDatabase.kt │ │ │ │ └── TimestampConverter.kt │ │ │ └── ui │ │ │ ├── ActivityRecognitionPermissionState.kt │ │ │ ├── ActivityRecognitionScreen.kt │ │ │ ├── InitializingScreen.kt │ │ │ ├── ServiceUnavailableScreen.kt │ │ │ └── theme │ │ │ ├── Color.kt │ │ │ ├── Shape.kt │ │ │ ├── Theme.kt │ │ │ └── Type.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── values-night │ │ └── themes.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── AwarenessApisSampleKotlin ├── .gitignore ├── .google │ └── packaging.yaml ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── android │ │ │ └── example │ │ │ └── awarenessapissamplekotlin │ │ │ └── MainActivity.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── values-night │ │ └── themes.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── CONTRIBUTING.md ├── ForegroundLocationUpdates ├── .gitignore ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── google │ │ │ └── android │ │ │ └── gms │ │ │ └── location │ │ │ └── sample │ │ │ └── foregroundlocation │ │ │ ├── ForegroundLocationApp.kt │ │ │ ├── ForegroundLocationService.kt │ │ │ ├── MainActivity.kt │ │ │ ├── MainViewModel.kt │ │ │ ├── data │ │ │ ├── LocationPreferences.kt │ │ │ ├── LocationRepository.kt │ │ │ └── PlayServicesAvailablityChecker.kt │ │ │ └── ui │ │ │ ├── InitializingScreen.kt │ │ │ ├── LocationPermissionState.kt │ │ │ ├── LocationUpdatesScreen.kt │ │ │ ├── ServiceUnvailableScreen.kt │ │ │ └── theme │ │ │ ├── Color.kt │ │ │ └── Theme.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── ic_launcher_background.xml │ │ ├── ic_location.xml │ │ └── ic_stop.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── values-night │ │ └── themes.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── Geofencing ├── .gitignore ├── .google │ └── packaging.yaml ├── README.md ├── app │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── google │ │ │ └── android │ │ │ └── gms │ │ │ └── location │ │ │ └── sample │ │ │ └── geofencing │ │ │ ├── Constants.java │ │ │ ├── GeofenceBroadcastReceiver.java │ │ │ ├── GeofenceErrorMessages.java │ │ │ ├── GeofenceTransitionsJobIntentService.java │ │ │ └── MainActivity.java │ │ └── res │ │ ├── drawable-hdpi │ │ └── ic_launcher.png │ │ ├── drawable-mdpi │ │ └── ic_launcher.png │ │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ │ ├── drawable-xxhdpi │ │ └── ic_launcher.png │ │ ├── layout │ │ └── main_activity.xml │ │ ├── values-w820dp │ │ └── dimens.xml │ │ └── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── LICENSE ├── LocationAddress ├── .gitignore ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── google │ │ │ └── android │ │ │ └── gms │ │ │ └── location │ │ │ └── sample │ │ │ └── locationaddress │ │ │ ├── LocationAddressApp.kt │ │ │ ├── MainActivity.kt │ │ │ ├── MainViewModel.kt │ │ │ ├── data │ │ │ ├── GeocodingApi.kt │ │ │ ├── LocationApi.kt │ │ │ └── PlayServicesAvailabilityChecker.kt │ │ │ └── ui │ │ │ ├── DiscreteSlider.kt │ │ │ ├── GeocoderScreen.kt │ │ │ ├── InitializingScreen.kt │ │ │ ├── LocationPermissionState.kt │ │ │ ├── ServiceUnavailableScreen.kt │ │ │ └── theme │ │ │ ├── Color.kt │ │ │ ├── Shape.kt │ │ │ ├── Theme.kt │ │ │ └── Type.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── values-night │ │ └── themes.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── screenshots │ └── results_ui.png └── settings.gradle ├── LocationUpdatesBackgroundKotlin ├── .gitignore ├── .google │ └── packaging.yaml ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── google │ │ │ └── android │ │ │ └── gms │ │ │ └── location │ │ │ └── sample │ │ │ └── locationupdatesbackgroundkotlin │ │ │ └── ExampleInstrumentedTest.kt │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── google │ │ │ │ └── android │ │ │ │ └── gms │ │ │ │ └── location │ │ │ │ └── sample │ │ │ │ └── locationupdatesbackgroundkotlin │ │ │ │ ├── LocationUpdatesBroadcastReceiver.kt │ │ │ │ ├── Utils.kt │ │ │ │ ├── data │ │ │ │ ├── LocationRepository.kt │ │ │ │ ├── MyLocationManager.kt │ │ │ │ └── db │ │ │ │ │ ├── MyLocationDao.kt │ │ │ │ │ ├── MyLocationDatabase.kt │ │ │ │ │ ├── MyLocationEntity.kt │ │ │ │ │ └── MyLocationTypeConverters.kt │ │ │ │ ├── ui │ │ │ │ ├── LocationUpdateFragment.kt │ │ │ │ ├── MainActivity.kt │ │ │ │ └── PermissionRequestFragment.kt │ │ │ │ └── viewmodels │ │ │ │ └── LocationUpdateViewModel.kt │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ ├── ic_launcher_background.xml │ │ │ ├── ic_location_on_24px.xml │ │ │ └── ic_my_location_24px.xml │ │ │ ├── layout │ │ │ ├── activity_main.xml │ │ │ ├── fragment_location_update.xml │ │ │ └── fragment_permission_request.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── dimens.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ │ └── test │ │ └── java │ │ └── com │ │ └── google │ │ └── android │ │ └── gms │ │ └── location │ │ └── sample │ │ └── locationupdatesbackgroundkotlin │ │ └── ExampleUnitTest.kt ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── README.md └── SleepSampleKotlin ├── .gitignore ├── .google └── packaging.yaml ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── android │ │ └── example │ │ └── sleepsamplekotlin │ │ ├── MainActivity.kt │ │ ├── MainApplication.kt │ │ ├── MainViewModel.kt │ │ ├── data │ │ ├── SleepRepository.kt │ │ ├── datastore │ │ │ └── SleepSubscriptionStatus.kt │ │ └── db │ │ │ ├── SleepClassifyEventDao.kt │ │ │ ├── SleepClassifyEventEntity.kt │ │ │ ├── SleepDatabase.kt │ │ │ ├── SleepSegmentEventDao.kt │ │ │ └── SleepSegmentEventEntity.kt │ │ └── receiver │ │ ├── BootReceiver.kt │ │ └── SleepReceiver.kt │ └── res │ ├── drawable-v24 │ └── ic_launcher_foreground.xml │ ├── drawable │ └── ic_launcher_background.xml │ ├── layout │ └── activity_main.xml │ ├── mipmap-anydpi-v26 │ ├── ic_launcher.xml │ └── ic_launcher_round.xml │ ├── mipmap-hdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-mdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-xhdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-xxhdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-xxxhdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── values-night │ └── themes.xml │ └── values │ ├── colors.xml │ ├── strings.xml │ └── themes.xml ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.github/scripts/gradlew_recursive.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/.github/scripts/gradlew_recursive.sh -------------------------------------------------------------------------------- /.github/workflows/build.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/.github/workflows/build.yaml -------------------------------------------------------------------------------- /.github/workflows/copy-branch.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/.github/workflows/copy-branch.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/.gitignore -------------------------------------------------------------------------------- /ActivityRecognition/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/.gitignore -------------------------------------------------------------------------------- /ActivityRecognition/.google/packaging.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/.google/packaging.yaml -------------------------------------------------------------------------------- /ActivityRecognition/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/README.md -------------------------------------------------------------------------------- /ActivityRecognition/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /ActivityRecognition/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/build.gradle -------------------------------------------------------------------------------- /ActivityRecognition/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/proguard-rules.pro -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/ActivityRecognitionApp.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/ActivityRecognitionApp.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/BootReceiver.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/BootReceiver.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/DetectedActivityReceiver.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/DetectedActivityReceiver.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/MainActivity.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/MainViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/MainViewModel.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/PermissionUtils.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/PermissionUtils.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/data/ActivityTransitionManager.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/data/ActivityTransitionManager.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/data/AppPreferences.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/data/AppPreferences.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/data/PlayServicesAvailabilityChecker.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/data/PlayServicesAvailabilityChecker.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/data/db/ActivityTransitionDao.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/data/db/ActivityTransitionDao.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/data/db/ActivityTransitionRecord.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/data/db/ActivityTransitionRecord.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/data/db/AppDatabase.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/data/db/AppDatabase.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/data/db/TimestampConverter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/data/db/TimestampConverter.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/ui/ActivityRecognitionPermissionState.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/ui/ActivityRecognitionPermissionState.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/ui/ActivityRecognitionScreen.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/ui/ActivityRecognitionScreen.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/ui/InitializingScreen.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/ui/InitializingScreen.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/ui/ServiceUnavailableScreen.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/ui/ServiceUnavailableScreen.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/ui/theme/Color.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/ui/theme/Color.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/ui/theme/Shape.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/ui/theme/Shape.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/ui/theme/Theme.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/ui/theme/Theme.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/ui/theme/Type.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/java/com/google/android/gms/location/sample/activityrecognition/ui/theme/Type.kt -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/res/values-night/themes.xml -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /ActivityRecognition/app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/app/src/main/res/values/themes.xml -------------------------------------------------------------------------------- /ActivityRecognition/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/build.gradle -------------------------------------------------------------------------------- /ActivityRecognition/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/gradle.properties -------------------------------------------------------------------------------- /ActivityRecognition/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /ActivityRecognition/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /ActivityRecognition/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/gradlew -------------------------------------------------------------------------------- /ActivityRecognition/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/gradlew.bat -------------------------------------------------------------------------------- /ActivityRecognition/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ActivityRecognition/settings.gradle -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/.gitignore -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/.google/packaging.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/.google/packaging.yaml -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/README.md -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/build.gradle -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/proguard-rules.pro -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/java/com/android/example/awarenessapissamplekotlin/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/java/com/android/example/awarenessapissamplekotlin/MainActivity.kt -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/values-night/themes.xml -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/app/src/main/res/values/themes.xml -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/build.gradle -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/gradle.properties -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/gradlew -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/gradlew.bat -------------------------------------------------------------------------------- /AwarenessApisSampleKotlin/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/AwarenessApisSampleKotlin/settings.gradle -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /ForegroundLocationUpdates/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/.gitignore -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/build.gradle -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/proguard-rules.pro -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/ForegroundLocationApp.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/ForegroundLocationApp.kt -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/ForegroundLocationService.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/ForegroundLocationService.kt -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/MainActivity.kt -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/MainViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/MainViewModel.kt -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/data/LocationPreferences.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/data/LocationPreferences.kt -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/data/LocationRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/data/LocationRepository.kt -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/data/PlayServicesAvailablityChecker.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/data/PlayServicesAvailablityChecker.kt -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/ui/InitializingScreen.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/ui/InitializingScreen.kt -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/ui/LocationPermissionState.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/ui/LocationPermissionState.kt -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/ui/LocationUpdatesScreen.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/ui/LocationUpdatesScreen.kt -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/ui/ServiceUnvailableScreen.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/ui/ServiceUnvailableScreen.kt -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/ui/theme/Color.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/ui/theme/Color.kt -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/ui/theme/Theme.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/java/com/google/android/gms/location/sample/foregroundlocation/ui/theme/Theme.kt -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/drawable/ic_location.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/drawable/ic_location.xml -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/drawable/ic_stop.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/drawable/ic_stop.xml -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/values-night/themes.xml -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /ForegroundLocationUpdates/app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/app/src/main/res/values/themes.xml -------------------------------------------------------------------------------- /ForegroundLocationUpdates/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/build.gradle -------------------------------------------------------------------------------- /ForegroundLocationUpdates/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/gradle.properties -------------------------------------------------------------------------------- /ForegroundLocationUpdates/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /ForegroundLocationUpdates/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /ForegroundLocationUpdates/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/gradlew -------------------------------------------------------------------------------- /ForegroundLocationUpdates/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/gradlew.bat -------------------------------------------------------------------------------- /ForegroundLocationUpdates/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/ForegroundLocationUpdates/settings.gradle -------------------------------------------------------------------------------- /Geofencing/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | .idea 3 | .gradle 4 | *.iml 5 | local.properties 6 | .DS_Store 7 | -------------------------------------------------------------------------------- /Geofencing/.google/packaging.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/.google/packaging.yaml -------------------------------------------------------------------------------- /Geofencing/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/README.md -------------------------------------------------------------------------------- /Geofencing/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/app/build.gradle -------------------------------------------------------------------------------- /Geofencing/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/app/proguard-rules.pro -------------------------------------------------------------------------------- /Geofencing/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /Geofencing/app/src/main/java/com/google/android/gms/location/sample/geofencing/Constants.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/app/src/main/java/com/google/android/gms/location/sample/geofencing/Constants.java -------------------------------------------------------------------------------- /Geofencing/app/src/main/java/com/google/android/gms/location/sample/geofencing/GeofenceBroadcastReceiver.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/app/src/main/java/com/google/android/gms/location/sample/geofencing/GeofenceBroadcastReceiver.java -------------------------------------------------------------------------------- /Geofencing/app/src/main/java/com/google/android/gms/location/sample/geofencing/GeofenceErrorMessages.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/app/src/main/java/com/google/android/gms/location/sample/geofencing/GeofenceErrorMessages.java -------------------------------------------------------------------------------- /Geofencing/app/src/main/java/com/google/android/gms/location/sample/geofencing/GeofenceTransitionsJobIntentService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/app/src/main/java/com/google/android/gms/location/sample/geofencing/GeofenceTransitionsJobIntentService.java -------------------------------------------------------------------------------- /Geofencing/app/src/main/java/com/google/android/gms/location/sample/geofencing/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/app/src/main/java/com/google/android/gms/location/sample/geofencing/MainActivity.java -------------------------------------------------------------------------------- /Geofencing/app/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/app/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Geofencing/app/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/app/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Geofencing/app/src/main/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/app/src/main/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Geofencing/app/src/main/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/app/src/main/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Geofencing/app/src/main/res/layout/main_activity.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/app/src/main/res/layout/main_activity.xml -------------------------------------------------------------------------------- /Geofencing/app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/app/src/main/res/values-w820dp/dimens.xml -------------------------------------------------------------------------------- /Geofencing/app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/app/src/main/res/values/dimens.xml -------------------------------------------------------------------------------- /Geofencing/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /Geofencing/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /Geofencing/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/build.gradle -------------------------------------------------------------------------------- /Geofencing/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/gradle.properties -------------------------------------------------------------------------------- /Geofencing/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Geofencing/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /Geofencing/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/gradlew -------------------------------------------------------------------------------- /Geofencing/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/Geofencing/gradlew.bat -------------------------------------------------------------------------------- /Geofencing/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LICENSE -------------------------------------------------------------------------------- /LocationAddress/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/.gitignore -------------------------------------------------------------------------------- /LocationAddress/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/README.md -------------------------------------------------------------------------------- /LocationAddress/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /LocationAddress/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/build.gradle -------------------------------------------------------------------------------- /LocationAddress/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/proguard-rules.pro -------------------------------------------------------------------------------- /LocationAddress/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/LocationAddressApp.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/LocationAddressApp.kt -------------------------------------------------------------------------------- /LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/MainActivity.kt -------------------------------------------------------------------------------- /LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/MainViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/MainViewModel.kt -------------------------------------------------------------------------------- /LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/data/GeocodingApi.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/data/GeocodingApi.kt -------------------------------------------------------------------------------- /LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/data/LocationApi.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/data/LocationApi.kt -------------------------------------------------------------------------------- /LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/data/PlayServicesAvailabilityChecker.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/data/PlayServicesAvailabilityChecker.kt -------------------------------------------------------------------------------- /LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/ui/DiscreteSlider.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/ui/DiscreteSlider.kt -------------------------------------------------------------------------------- /LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/ui/GeocoderScreen.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/ui/GeocoderScreen.kt -------------------------------------------------------------------------------- /LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/ui/InitializingScreen.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/ui/InitializingScreen.kt -------------------------------------------------------------------------------- /LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/ui/LocationPermissionState.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/ui/LocationPermissionState.kt -------------------------------------------------------------------------------- /LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/ui/ServiceUnavailableScreen.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/ui/ServiceUnavailableScreen.kt -------------------------------------------------------------------------------- /LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/ui/theme/Color.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/ui/theme/Color.kt -------------------------------------------------------------------------------- /LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/ui/theme/Shape.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/ui/theme/Shape.kt -------------------------------------------------------------------------------- /LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/ui/theme/Theme.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/ui/theme/Theme.kt -------------------------------------------------------------------------------- /LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/ui/theme/Type.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/java/com/google/android/gms/location/sample/locationaddress/ui/theme/Type.kt -------------------------------------------------------------------------------- /LocationAddress/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /LocationAddress/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /LocationAddress/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /LocationAddress/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /LocationAddress/app/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /LocationAddress/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /LocationAddress/app/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /LocationAddress/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /LocationAddress/app/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /LocationAddress/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /LocationAddress/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /LocationAddress/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /LocationAddress/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /LocationAddress/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /LocationAddress/app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/res/values-night/themes.xml -------------------------------------------------------------------------------- /LocationAddress/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /LocationAddress/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /LocationAddress/app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/app/src/main/res/values/themes.xml -------------------------------------------------------------------------------- /LocationAddress/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/build.gradle -------------------------------------------------------------------------------- /LocationAddress/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/gradle.properties -------------------------------------------------------------------------------- /LocationAddress/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /LocationAddress/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /LocationAddress/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/gradlew -------------------------------------------------------------------------------- /LocationAddress/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/gradlew.bat -------------------------------------------------------------------------------- /LocationAddress/screenshots/results_ui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/screenshots/results_ui.png -------------------------------------------------------------------------------- /LocationAddress/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationAddress/settings.gradle -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/.gitignore -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/.google/packaging.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/.google/packaging.yaml -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/README.md -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/build.gradle -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/proguard-rules.pro -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/androidTest/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/androidTest/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/ExampleInstrumentedTest.kt -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/LocationUpdatesBroadcastReceiver.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/LocationUpdatesBroadcastReceiver.kt -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/Utils.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/Utils.kt -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/data/LocationRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/data/LocationRepository.kt -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/data/MyLocationManager.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/data/MyLocationManager.kt -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/data/db/MyLocationDao.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/data/db/MyLocationDao.kt -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/data/db/MyLocationDatabase.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/data/db/MyLocationDatabase.kt -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/data/db/MyLocationEntity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/data/db/MyLocationEntity.kt -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/data/db/MyLocationTypeConverters.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/data/db/MyLocationTypeConverters.kt -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/ui/LocationUpdateFragment.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/ui/LocationUpdateFragment.kt -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/ui/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/ui/MainActivity.kt -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/ui/PermissionRequestFragment.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/ui/PermissionRequestFragment.kt -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/viewmodels/LocationUpdateViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/viewmodels/LocationUpdateViewModel.kt -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/drawable/ic_location_on_24px.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/drawable/ic_location_on_24px.xml -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/drawable/ic_my_location_24px.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/drawable/ic_my_location_24px.xml -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/layout/fragment_location_update.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/layout/fragment_location_update.xml -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/layout/fragment_permission_request.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/layout/fragment_permission_request.xml -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/values/dimens.xml -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/app/src/test/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/ExampleUnitTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/app/src/test/java/com/google/android/gms/location/sample/locationupdatesbackgroundkotlin/ExampleUnitTest.kt -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/build.gradle -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/gradle.properties -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/gradlew -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/LocationUpdatesBackgroundKotlin/gradlew.bat -------------------------------------------------------------------------------- /LocationUpdatesBackgroundKotlin/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | rootProject.name='LocationUpdatesBackgroundKotlin' 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/README.md -------------------------------------------------------------------------------- /SleepSampleKotlin/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/.gitignore -------------------------------------------------------------------------------- /SleepSampleKotlin/.google/packaging.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/.google/packaging.yaml -------------------------------------------------------------------------------- /SleepSampleKotlin/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/README.md -------------------------------------------------------------------------------- /SleepSampleKotlin/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /SleepSampleKotlin/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/build.gradle -------------------------------------------------------------------------------- /SleepSampleKotlin/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/proguard-rules.pro -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/MainActivity.kt -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/MainApplication.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/MainApplication.kt -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/MainViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/MainViewModel.kt -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/data/SleepRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/data/SleepRepository.kt -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/data/datastore/SleepSubscriptionStatus.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/data/datastore/SleepSubscriptionStatus.kt -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/data/db/SleepClassifyEventDao.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/data/db/SleepClassifyEventDao.kt -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/data/db/SleepClassifyEventEntity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/data/db/SleepClassifyEventEntity.kt -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/data/db/SleepDatabase.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/data/db/SleepDatabase.kt -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/data/db/SleepSegmentEventDao.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/data/db/SleepSegmentEventDao.kt -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/data/db/SleepSegmentEventEntity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/data/db/SleepSegmentEventEntity.kt -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/receiver/BootReceiver.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/receiver/BootReceiver.kt -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/receiver/SleepReceiver.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/java/com/android/example/sleepsamplekotlin/receiver/SleepReceiver.kt -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/values-night/themes.xml -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /SleepSampleKotlin/app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/app/src/main/res/values/themes.xml -------------------------------------------------------------------------------- /SleepSampleKotlin/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/build.gradle -------------------------------------------------------------------------------- /SleepSampleKotlin/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/gradle.properties -------------------------------------------------------------------------------- /SleepSampleKotlin/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /SleepSampleKotlin/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /SleepSampleKotlin/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/gradlew -------------------------------------------------------------------------------- /SleepSampleKotlin/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/gradlew.bat -------------------------------------------------------------------------------- /SleepSampleKotlin/settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android/location-samples/HEAD/SleepSampleKotlin/settings.gradle --------------------------------------------------------------------------------