fixme-lausanne / MyHackerspace

Android app for hackerspaces status and information, using the SpaceAPI.
https://play.google.com/store/apps/details?id=ch.fixme.status
44 stars 29 forks source link

My Hackerspace

Discontinued The current development takes place at spaceapi-community/my-hackerspace.

Master branch: Build Status

HOW TO COMPILE

First, get the sources.

git clone --recursive https://github.com/fixme-lausanne/MyHackerspace.git
cd MyHackerspace

Get the 3rd party librairies

git submodule init
git submodule update

Android Studio

With Android Studio, simply open the project directory and you should be set.

Command Line

You can build the project using Gradle.

You'll first need the Android SDK, and install build tools 21.1.1 which is considered obsolete. You can find this version by ticking obsolete in the Android SDK Manager.

The following examples use the gradle wrapper script which will automatically download gradle to your local directory. If you want to use your own system-wide installation instead, simply replace ./gradlew commands with gradle.

First, copy local.properties.example to local.properties and adjust the path to your Android SDK installation.

To build a debug APK:

./gradlew assembleDebug

You will find your APK file in the app/build/outputs/apk/ directory.

You can also build and directly install the file to your connected smartphone:

./gradlew assembleDebug installDebug

To see other tasks that gradle offers, run

./gradlew tasks

LOCAL DIRECTORY

For testing purposes you can run a local directory using this technique:

TODO