Add downloadable Android APK build

This commit is contained in:
2026-07-31 23:53:43 +02:00
parent 3801a91acf
commit ec44905310
6 changed files with 40 additions and 5 deletions
+3 -4
View File
@@ -20,14 +20,13 @@ The one-use code expires after ten minutes. The resulting credential is encrypte
## Build
Open this `android/` directory in Android Studio (JDK 17, Android SDK 35) and run the `app` configuration, or use the included Gradle wrapper:
Open this `android/` directory in Android Studio (JDK 17, Android SDK 35) and run the `app` configuration, or build the downloadable APK from the repository root:
```bash
cd android
./gradlew :app:assembleDebug
./build-apk.sh
```
The debug APK is produced at `app/build/outputs/apk/debug/app-debug.apk`. Hardware validation requires an Android 8+ phone with BLE and a Raspberry Pi with a BlueZ-compatible BLE adapter.
The debug APK is copied to [`apks/pi-car-companion-debug.apk`](../apks/pi-car-companion-debug.apk). Hardware validation requires an Android 8+ phone with BLE and a Raspberry Pi with a BlueZ-compatible BLE adapter.
## BLE protocol