Examples

The following examples are available for your convenience to help you get started with the Fitbit SDK.

To install an example, create a new project in Fitbit Studio with the type "Empty Project". Download the example and drag and drop the zip file contents into Fitbit Studio.

HR Meter

Demonstrates reading the current heart-rate of the user, displaying it on the screen as well as the number of seconds, minutes or hours since the last valid reading.

Check out HR Meter.

Altimeter

Demonstrates using the Barometer to simulate measuring altitude, and display it on the screen.

Check out Altimeter.

Bay Area Rapid Transit (BART)

This example application downloads real-time BART data and shows upcoming trains for a station of your choice.

This examples demonstrates:

  • How to build a list-based UI;
  • How to fetch data from the Internet and process it before sending it to the watch;
  • How to use a Settings page to let the user configure the app on the phone.

Check out BART.

LCD Clock Face

This example application simulates a retro LCD digital clock.

This examples demonstrates:

  • How to use images for text
  • How to send color themes from a Settings page

Check out LCD Clock Face.