From 2386b29233cd82a15af200cf4a4ebfc3ff70f7bc Mon Sep 17 00:00:00 2001 From: Alexander Mahr Date: Thu, 10 Oct 2024 11:56:06 +0200 Subject: [PATCH] add new branch "native" --- Dockerfile | 1 + README.md | 20 ++++++++++++++++---- compose.yml | 1 + 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7caf424..8ffe227 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,7 @@ RUN test "$YESACCEPT" = "y" || { printf "\033[31;1;4m%s\n%s\033[0m " "FAILED TO RUN echo you selected to accept the licenses/TOS RUN echo "$YESACCEPT" | sdkmanager --install "build-tools;33.0.2" RUN echo "$YESACCEPT" | sdkmanager --install "platforms;android-33" +RUN echo "$YESACCEPT" | sdkmanager --install "ndk;28.0.12433566" #RUN apk add setpriv COPY entrypoint.sh /entrypoint.sh RUN chown 0:0 /entrypoint.sh diff --git a/README.md b/README.md index 237b637..271f78f 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,28 @@ # Repo allowing -in a KISS way- to create a containered way to build an Android App APK -## changelog +## branchs -* using https://android.googlesource.com/platform/cts/+/android-7.1.1_r13/tests/tests/webkit/src/android/webkit/cts/PostMessageTest.java derived -webmessage to send data to Javascript/Webview from Java (using a timer) -## brach `no-res.xml` +### branch `native` + +this branch should allow to use the Native Developer Kit to build an app without much java +the content below apk/native are LICENSE MIT + +### branch `no-res.xml` this branch features the exmaple.app to not require the compoletely bogus unneeded requirement to setup a `./apk/res/layouts/res.xml` file to setup the layout to be used. Instead a layout is created inline +### branch `webview` + +a bra +## changelog + +* using https://android.googlesource.com/platform/cts/+/android-7.1.1_r13/tests/tests/webkit/src/android/webkit/cts/PostMessageTest.java derived +webmessage to send data to Javascript/Webview from Java (using a timer) + + ## tl;dr diff --git a/compose.yml b/compose.yml index 8714951..3b4fc39 100644 --- a/compose.yml +++ b/compose.yml @@ -1,5 +1,6 @@ services: compile: + hostname: android-app-builder build: context: . args: