36 lines
1.3 KiB
Markdown
36 lines
1.3 KiB
Markdown
# Native (non java written) Android App Written in C (build via docker/podman)
|
|
|
|
branch `webview` to only setup a webview
|
|
|
|
|
|
## usage
|
|
|
|
0. clone this repo
|
|
1. run
|
|
|
|
```
|
|
./build-android-app.sh
|
|
```
|
|
|
|
2. follow the configuration (configuration is less than in the normal case of [android-app](https://git.alexmahr.de/lion/android-app) as the API-Level is inserted fixed as "29" )
|
|
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
|
|
```
|
|
|
|
## basic ideas
|
|
|
|
* "native app" to remove need to work with JAVA/KOTLIN madness
|
|
* work within container (debian based image)
|
|
* use Makefile as a build tool
|
|
* avoid the "unhappiness" of having to deal with neither KOTLIN nor JAVA
|
|
|
|
## benefits of this (compared to AndroidStudio)
|
|
|
|
* no need to install rather bloated hell of software (i.e AndroidStudio) and all
|
|
* less hidding of internals (i.e Makefile allows to see how app.apk is made)
|
|
* small app.apk file
|
|
* oftentimes faster compile time (as compared with AndroidStudio Gradle builds)
|
|
* quick "webview" which can serve as starting point for people that can to PWA and websites
|
|
* Assisted initial configuration provides access to configure almost all types of [Android app permissions](app/.Makefile.scripts/make--app-config.sh#L127)
|
|
* no need to have Kotlin, Gradle setup, nor use JAVA
|