This document describes how to build and work with the SUPLA Android application in a local development environment.
It applies to contributors and developers working on the mobile application source code.
You can use the Gradle wrapper to build the project.
Build a test APK:
./gradlew assembleInternaltestThe APK will be generated in:
app/build/outputs/apk/internaltest/
Install it on a device (example):
adb install -r path/to/app-internaltest.apkRun available tests and checks:
./gradlew connectedCheckThis repository uses Spotless to keep formatting consistent.
Check formatting:
./gradlew spotlessCheckApply formatting:
./gradlew spotlessApplyNote: Spotless is configured to focus on changes introduced on your branch.
- The Android app communicates with SUPLA server and SUPLA Cloud.
- Most functionality requires access to a running SUPLA server and SUPLA Cloud instance (official or self-hosted).
- Backend services are not part of this repository.