1.6 KiB
1.6 KiB
Android App Written in C (build via docker/podman)
This repo provides its user with the ability to setup and compile a Android-App that is
based on android.app.NativeActiviy
and thus can be completely compiled C source-code.
It is an adoptation (and hopefully somehow simplification of this repo rawdrawandroid
and this many thanks and credits to most of the c-code goes to CNLohr.
usage
- clone this repo
- run
./build-android-app.sh
- follow the configuration (configuration is less than in the normal case of android-app as the API-Level is inserted fixed as "29" )
- 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
- 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
- no need to have Kotlin, Gradle setup, nor use JAVA