Community

You do the exercise, Bluemix will do the counting

Share this post:

To show how powerful Bluemix could be for making wearable devices really helpful, we’ve built a simple app that counts the number of repetitions you perform when you exercise. And yes, you can obtain this app and the tools needed to build your own flavor.

The two key components utilized for building this are IBM Bluemix and the IBM’s Mobile Wearables Framework:

Wearables Start Here

Over time, wearable devices are getting packed with more and more sensors. These sensors generate tons of data that need to be interpreted in order to understand the user’s current situation and context. Accelerometers, for example, are part of many wearable devices. They generate hundreds of data points every second. The secret to the success of wearable solutions lies in the ability to turn this data into insights such as knowing what the users are doing right now, are they are in a dangerous situation or do they need something.

To tackle the key challenges associated with wearable sensors, we used IBM’s Mobile Wearables Framework.

This free, open-source toolkit facilitates connectivity and data transfer between wearable devices and mobile phones (in the demo we are using the Android SDK. An SDK for iOS is available as well). It also helps using the compute power of the mobile phone for interpreting the raw data coming from the sensors. It even includes gesture recognition capabilities that can learn and identify movements of your choice:

Bluemix was also instrumental in making this app come true. We utilized the Mobile Client Access for managing secured authentication and access with the user’s Facebook ID. Cloudant NoSQL database enabled to securely keep the data on the mobile device for off-line use and sync it with the cloud in order to make it available for others. The Node.js service serves as the backend for the Web Dashboard, enabling coaches to view the trainee’s achievements. We also used the Push Notifications service to let the coach send messages to the trainees right from the dashboard.

Flow Diagram

That was just a basic example. Use your imagination and creativity to do more with wearable sensors, gesture recognition, and mobile technology. And bring-in even more power, capabilities and magic utilizing the wide selection of Bluemix services.

And yes, you can freely obtain this app and its source code ibm-wearables-sdk-for-mobile/gym-application-android on GitHub.

References

More Community stories
April 5, 2019

IBM Cloud App ID: Updated Runtime APIs Provide Tighter Interoperability for Your Cloud-Native Apps

As part of our efforts to tighten interoperability and broaden the frameworks that are able to use IBM Cloud App ID, we've updated the runtime APIs.

Continue reading

March 1, 2019

Implement Push Notifications in Your React Native App Using IBM Cloud Push Notifications Service

React Native is an open source framework for easy cross-platform, which helps in building the apps using Javascript. Follow these steps to integrate IBM Cloud Push Notifications Service with a React Native app using its React Native SDKs.

Continue reading

February 11, 2019

IBM Cloud Mobile Foundation: Top-10 Features to Boost Your App Rating

The Mobile Foundation service offers many hidden gems that developers often gloss over. In this post, we highlight the top 10 features that increase user engagement as well as improve app ratings. 

Continue reading