No description
Find a file
2025-03-01 15:48:22 +01:00
app remove android usb stuff 2025-03-01 15:48:22 +01:00
.gitignore adopt rawdrawandroidRepo to make native app 2024-12-31 18:09:46 +01:00
build-android-app.sh adopt rawdrawandroidRepo to make native app 2024-12-31 18:09:46 +01:00
README.md adopt rawdrawandroidRepo to make native app 2024-12-31 18:09:46 +01:00

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

  1. clone this repo
  2. run
./build-android-app.sh
  1. follow the configuration (configuration is less than in the normal case of android-app as the API-Level is inserted fixed as "29" )
  2. 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