Thursday, April 18, 2024

Games in Motion aims to make jogging fun with Android Wear

Share

android_wear_video_snap

Sometimes when you want to relax after a long day, it’s difficult to choose between your daily workout or video games. The good news is that Google has a way for you to do both at the same time.

Today Google announced Games in Motion, an open source game sample that will give developers ideas how to add more functionality to Android Wear, which in turn should put a little more leap in your step with missions during those long jogs.

With Games in Motion, those long jogs are still being recorded in the background, so you can still keep up with your latest statistics while gaming in the forefront.

The sample is written in the Java programming language using Android Studio, and there are some marvelous technologies at play:

  • Android Wear bridges notifications from a phone or tablet to a paired Android Wear device. The notifications are stacked so we can show multiple stats at the same time.
  • Google Fit API collects and processes fitness data and sessions. This allows us to use the fitness data to show user progress. All exercise sessions done in Games in Motion will be recorded to Google Fit as well.
  • Google Play Games Services is used to create and unlock achievements.
  • Several different Android audio APIs are integrated.

Overall, developers could have a lot of fun with this. It’s only a matter of time before we see the flood of zombie survival fitness missions available!

You can download the latest open source release from GitHub here. What do you think about Games in Motion? Could you see yourself taking advantage of this? Let us know in the comments.

source: Android Developers

Come comment on this article: Games in Motion aims to make jogging fun with Android Wear

Visit TalkAndroid for Android news, Android guides, and much more!

Read more

More News