SampleForegroundService
This sample project demonstrates the setup for a foreground service. The service in this project is a foreground service used to request location. The required permissions depend on the type of foreground service.
File Explorer
- Project_Default.xml
- .gitignore
- AndroidProjectSystem.xml
- appInsightsSettings.xml
- compiler.xml
- deploymentTargetDropDown.xml
- deploymentTargetSelector.xml
- deviceManager.xml
- gradle.xml
- kotlinc.xml
- markdown.xml
- migrations.xml
- misc.xml
- runConfigurations.xml
- vcs.xml
- ExampleInstrumentedTest.kt
- RestartServiceBroadcastReceiver.kt
- LocationService.kt
- Color.kt
- Theme.kt
- Type.kt
- SecureSharePreferences.kt
- MainActivity.kt
- ic_launcher_background.xml
- ic_launcher_foreground.xml
- ic_notifcation_icon.xml
- ic_notifcation_icon.png
- ic_notifcation_icon.png
- ic_notifcation_icon.png
- ic_notifcation_icon.png
- ic_launcher.xml
- ic_launcher_round.xml
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- colors.xml
- strings.xml
- themes.xml
- backup_rules.xml
- data_extraction_rules.xml
- AndroidManifest.xml
- ExampleUnitTest.kt
- .gitignore
- build.gradle.kts
- proguard-rules.pro
- gradle-wrapper.jar
- gradle-wrapper.properties
- .gitignore
- build.gradle.kts
- gradle.properties
- gradlew
- gradlew.bat
- LICENSE
- README.md
- settings.gradle.kts
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Link
Example
# Project Badges
// repository documentation
Was this content helpful?
(0 ratings)
