Skip to content

An Android application meant to interact with a REST api to remotely control a computer's power state.

License

Notifications You must be signed in to change notification settings

sqrrrrl/pc-power-app

Repository files navigation

What is this?

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).

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

About

An Android application meant to interact with a REST api to remotely control a computer's power state.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages