Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sqrrrrl/pc-power-app
An Android application meant to interact with a REST api to remotely control a computer's power state.
https://github.com/sqrrrrl/pc-power-app
Last synced: about 2 months ago
JSON representation
An Android application meant to interact with a REST api to remotely control a computer's power state.
- Host: GitHub
- URL: https://github.com/sqrrrrl/pc-power-app
- Owner: sqrrrrl
- License: gpl-3.0
- Created: 2024-07-04T20:11:38.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-18T18:08:30.000Z (5 months ago)
- Last Synced: 2024-10-17T04:07:53.484Z (2 months ago)
- Language: Kotlin
- Size: 253 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# What is this?
This is the mobile app component of a three-parts project where an [API](https://github.com/sqrrrrl/pc-power-api), an [arduino](https://github.com/sqrrrrl/pc-power-arduino) and a mobile app communicate together in order to enable users to remotely control the power state of their desktop computer(s).# Installation
1. Clone the repository:
```
git clone https://github.com/sqrrrrl/pc-power-app.git
```# Usage
## Environment variables
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"
```## Installing the app
The easiest way to build the app is by using Android Studio:
1. Open the project in Android Studio
2. Change the build variant to "release": ```Build > Select Build Variant```
3. Select ```Generate Signed Bundle / APK``` in the ```Build``` menu and follow the instructions
4. The apk should appear at ```./app/release/app-release.apk```# License
Distributed under the [GPL-3.0 license](https://github.com/sqrrrrl/pc-power-app#GPL-3.0-1-ov-file)