Giter Site home page Giter Site logo

coredump-ch / myhackerspace Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fixme-lausanne/myhackerspace

0.0 3.0 0.0 1.23 MB

Android app for hackerspaces status and information, using the SpaceAPI.

Home Page: https://play.google.com/store/apps/details?id=ch.fixme.status

Java 99.53% Python 0.47%

myhackerspace's Introduction

My Hackerspace

  • Status of hackerspaces using the SpaceAPI
  • Show information about the space (contact, location, sensors, ...)
  • Status widget, multiple widgets supported
  • Available on f-droid and play store

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:

  • Create a new Android AVD called for instance "android6"
  • Start the AVD from the command line: emulator -avd android6 -shared-net-id 16
  • Make sure a network interface on your host computer is reachable by this IP: sudo ifconfig eth0 10.0.2.3
  • On the host, go to the test directory and run the serv.py script: ./serv.py
  • Go in the app preferences and set the OpenSpaceDirectory URL to the following: https://10.0.2.3:8443/directory.json

TODO

  • Auto recognize field types in the API (array, obj, string, etc)
  • Integrate woozzu library as 3rd party

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.