Add downloadable Android APK build
This commit is contained in:
+3
-4
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user