Back to top

Watch Drupal 8 Release Progress on Your Android Wear

Recently, I started building new projects on Drupal 8. Everyday, I spent some time on checking the progress of a few D8 issues that I needed and the overall D8 progress. I thought it might be fun to have some progress numbers to show up on my Moto 360 Watch, and it's almost Christmas, so I decided to build my own Watch Face for Android Wear to monitor Drupal 8 Release.

The version 1.0 release of this watch face looks like the picture below

Development Story

Thanks to Drupal 8 Release Project, the app can easily get a few things down from the Internet:

  • The current number of critical issues
  • The current number of major issues
  • yesterday number of critical issues
  • yesterday number of major issues
  • Overall estimated Drupal 8 release date

The watch face logic and component is straightforward:

  • It has a simple (analog) watch.
  • Every 6 hours (this interval is set by Drupal Release Date Project to crawl, the watch sends the signal to the companion handheld device to download the new data.
  • The handheld device uses Retrofit library (built by Square) to efficiently access Drupal Release Date Project API and parse the JSON data.
  • The handheld device calls the Data Layer API (the actual communication is over Bluetooth), and then to sync the data to Android Watch.
  • The Android Wear app draws data on the watch face.

Try the App
The source code of this project is at ReleaseWatch
The Watch Face App is available on Google Play.

Android app on Google Play

Merry Christmas! and if you have ways to improve or extend the project, please use the comments below to enlighten me!

Add new comment