Quantcast
Channel: Pebble Watchapp Directory - Pebble Forums
Viewing all articles
Browse latest Browse all 5890

[Android][1.0][2.0] Pebble Bike

$
0
0
Hi,

Since the 2 way SDK has come out I have been working on a little App to replicate the functionality offered by a standard handle bar mounted cycling computer.    The app automatically detects when you are cycling and switches your pebble into cycling computer mode displaying speed, distance and average speed.  I have been testing the app on my commute to work today and it seems to be working pretty good.  The app is not intended as a replacement for Strava or Runkeeper, personally when I am training I will use Strava to record my data and Strava have indicated a desire to integrate with pebble.  I wrote this as I wanted a quick way to show my speed and distance when commuting or just cycling for fun and to show speed as a stopgap until Strava implements this functionality.

When not cycling the battery drain is next to nothing so it is possible to leave this app running 24/7 without any negative affect to the battery.

Over the last couple of days I have a pretty good proof of concept running the following work is complete:

1.  Android app recognises you are cycling and switches the pebble to the Cycling computer watch face.
2.  GPS enabled on the phone and data sent to custom pebble app.
3.  Android app recognises you are no longer cycling and shuts down custom pebble app returning to time.
4.  GPS automatically disable on the phone saving battery when not cycling.
5.  Tested on Android 4.1

ToDo:
1.  Finalise styling to custom watch app.
2.  Add settings to android app to manually disable automatic detection (possible currently by closing app).
3.  Add option to disable app when run keeper is active.
4. Implement compatibility for Android 2.2+

Wish list:
1.  Route planning and turn by turn on the pebble powered by google maps
2.  Compatibility with bluetooth heart rate monitors.
3.  Automatically send data to Fitbit or Jawbone Up for more accurate activity data.
4.  Possibly integration with Strava / Runkeeper

Give me a couple of days more testing and I should have something a little stable for people to try out and I will post the watch face and android app for you all.

Viewing all articles
Browse latest Browse all 5890

Trending Articles