This is the mobile app component of a three-parts project where an API, an arduino and a mobile app communicate together in order to enable users to remotely control the power state of their desktop computer(s).
- Clone the repository:
git clone https://github.com/sqrrrrl/pc-power-app.git
Create a file at the root of the project named local.properties and add the base url of the api to it:
apiUrl="https://pcpower.example.com"
The easiest way to build the app is by using Android Studio:
- Open the project in Android Studio
- Change the build variant to "release":
Build > Select Build Variant
- Select
Generate Signed Bundle / APK
in theBuild
menu and follow the instructions - The apk should appear at
./app/release/app-release.apk
Distributed under the GPL-3.0 license