25 lines
600 B
Markdown
25 lines
600 B
Markdown
# Android App to test/showcase a Foregroud service
|
|
## Android App (build via docker/podman)
|
|
|
|
The goal of this app is to build an android app which would feauture a [`foreground service`](https://developer.android.com/develop/background-work/services/fgs)
|
|
|
|
|
|
## usage
|
|
|
|
0. clone this repo
|
|
1. run
|
|
|
|
```
|
|
./build-android-app.sh
|
|
```
|
|
|
|
2. follow the configuration
|
|
3. upon success the apk file created is in app/result/app.apk and can be installed via `adb`
|
|
```
|
|
adb install -r app/result/app.apk
|
|
```
|
|
|
|
|
|
## Inspiration
|
|
|
|
* https://medium.com/@domen.lanisnik/guide-to-foreground-services-on-android-9d0127dc8f9a
|