/MyHackerspace

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

Primary LanguageJava

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 ./graldew 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

./graldew tasks

TODO

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

RELEASE NOTES

1.8.2

  • Fix camera and stream url being displayed
  • Fix twitter link to the new url format

1.8.1

1.8

  • Supports invalid SSL certificates
  • Allow widget to be resized
  • Add Dutch translation
  • Fix http to https redirection
  • General fixes

1.7.4.1

  • Fix crash when there's no error message

1.7.4

  • German translation (thanks to Lokke and Phervieux)
  • Better hs list with alphabetical index
  • Better errors messages
  • Caching for http requests (images, hs directory)
  • Add status message to the widget (thanks Fpletz)
  • Fix bugs: widget updates, ignore ext fields, click from widget

1.7.3

  • Fix regression with widget custom open/close logo
  • Fix order of hackerspaces with different cases

1.7.2

  • Better layout for sensors
  • Support more fields for sensors (machines, names, properties)

1.7.1

  • Faster http requests (Use DefaultHttpClient instead of HttpURLConnection)

1.7

  • Full support of SpaceAPI 0.13, drops mixed api definition: hackerspaces must comply to the level they declare!
  • Widget transparency preference added (by default transparency is deactivated)

1.6.1

  • French translation
  • Fix the widget's image not updating
  • Change to the new spaceapi url

1.6

  • Better layout in general
  • Use Holo light theme for Android >=3
  • Refresh the current hackerspace
  • Default to 15mn for the Widget
  • Settings button to change the widget interval
  • Fix lat/lon link
  • Fix crash when maps/email app not found

1.5.1

  • Bug fixes
  • Add a spinner when loading image
  • Faster download

1.5

  • Only download image if there is a change of state (better battery live and reduce network usage)

1.4

  • Add Cam and Stream links if present
  • Link for adresses opening GMaps
  • Sort Hackerspaces by name
  • Accept untrusted SSL certificates
  • Better error reporting
  • BUGFIX: Theme shoud be correct on all devices/versions
  • BUGFIX: Should work after reboot correctly

1.3

  • White theme by default (may break on samsung devices)
  • Check if network is enabled
  • Handle rotation correctly