JayPS (Pebble Bike/Ventoo) Android App
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app v3.0.0 Jul 20, 2017
gradle/wrapper Update gradle Sep 2, 2016
submodules Update submodule Jul 19, 2017
.gitignore Add strava integration May 30, 2016
.gitmodules removed submodule Jan 24, 2015
.travis.yml Travais: force oraclejdk8 Nov 30, 2016
LICENSE
README.md README Sep 4, 2016
build.gradle Update Gradle Nov 30, 2016
gradlew base gradle build Mar 29, 2014
gradlew.bat base gradle build Mar 29, 2014
pebblebike.png Update logo Nov 24, 2013
settings.gradle updated pebblekit, new gradle build, integrated advanced location Dec 18, 2014
wait_for_emulator added travis config to run tests Mar 30, 2014

README.md

PebbleBike-AndroidApp

Build Status Coverage Status

Pebble Bike is a GPS cycle computer for your Pebble smart watch. It uses your phone's GPS to send speed, distance and altitude data to your Pebble. You can also see your track directly on your Pebble.

Pebble Bike also has an innovative auto start feature which will auto start the bike computer on your watch when it detects you are riding a bike, using low battery technology pebble bike checks your activity every 30 seconds, so low power in fact you can leave this switched on all day.

Pebble Bike has a Live Tracking function that sends your position every 30 seconds to the internet. If you're using it with your friends, it can receive theirs positions and display them with your own track, directly on your Pebble.

Licensed under MIT License

Contributors

Translations

  • English
  • French
  • German (Hanspeter Jochmann)
  • Spanish (ZoretMan)
  • Italian (Riccardo Fantoni)
  • Japanese (Moyashi)
  • Dutch (Erwin Dirkx)

Watchface

See also the Pebble Bike Watch Face.

##Info Pebble bike v2 is pretty much a complete re-write to implement best practice in terms of coding. In an attempt to improve stability and reduce crashes when we develop the application futher we decided that we needed to re-architect the appliction.

To allow testability we have had to de-couple many parts of the application so to facilitate this we have used the excellent frameworks dagger (for dependency injection) and otto (event bus) written by square. Initially we intended to use Roboelectric to run all our tests super fast without the need to install the application on a device or emulator but this has proven difficult as Android studio and Gradle do not support this method out of the box. Due to a desire to have a simple build and setup we decided to fall back to the AndroidInstrumentation tests as recommended by Google.

##Prerequisites

Gradle 2.10
Download http://www.gradle.org/downloads
Set GRADLE_HOME environment var export GRADLE_HOME=/Applications/gradle
Set Gradle bin to your exe path export PATH=$GRADLE_HOME/bin:$PATH

##Build Instructions

Update the submodules

git submodule init
git submodule update

Build the application and run the tests

./gradlew connectedCheck