HomeAndroidVoice managed exercises with Google Assistant

Voice managed exercises with Google Assistant



Posted by John Richardson, Companion Engineer

With tens of tens of millions of installs of the adidas Working app, customers every single day flip to adidas as a part of their well being and health routine. Like many within the trade, adidas acknowledged that on this ever-evolving market, it is vital to make it as straightforward as potential for customers to realize their health objectives and making their app obtainable on Put on was a pure match. adidas didn’t cease at bringing their operating app to the watch, nonetheless, in addition they realized that in a person scenario akin to a exercise, the flexibility to have interaction with the appliance hands-free, and even eyes-free, additional simplified how customers may have interaction with the app.

Integrating Google Assistant

To allow hands-free management, adidas seemed to Google Assistant and App Actions, which lets customers management apps with their voice utilizing built-in intents (BIIs). Customers can carry out particular duties by voice or act upon duties akin to beginning a run or swim.

Integrating Well being and Health BIIs was a easy addition that adidas’ workers Android developer made of their IDE by declaring <functionality> tags of their shortcuts.xml file with a view to create a constant expertise between the cellular app and a watch floor. It’s a course of that appears like this:

  1. First, Assistant parses the person’s request utilizing pure language understanding and identifies the suitable BII. For instance, START_EXERCISE to start a exercise.
  2. Second, Assistant will then fulfill the person’s intent by launching the appliance to a specified content material or motion. Apart from START_EXERCISE, customers can even cease (STOP_EXERCISE), pause (PAUSE_EXERCISE), or resume (RESUME_EXERCISE) their exercises. Haptic suggestions or dings will also be added right here to indicate whether or not a person request was profitable or not.

With App Actions being constructed on Android, the event staff was in a position to deploy rapidly. And when partnered with the Well being Providers and Well being Join APIs which respectively assist real-time sensor and well being knowledge, finish customers can have a cohesive and safe expertise throughout cellular and Put on OS gadgets.

Miving image illustrating adidas Running app launching via Google Assistant on a wearable device

“What’s thrilling about Assistant and Put on is that the mix actually helps our customers attain their health objectives. The flexibility for a person to leverage their voice to trace their exercise makes for a singular and really accessible expertise,” says Robert Hellwagner, Director of Product Innovation for adidas Runtastic. “We’re excited by the opportunity of what will be finished by enabling voice based mostly interactions and experiences for our customers by App Actions.”

Be taught extra

Enabling voice controls to unlock hands-free and eyes-free contexts is a straightforward strategy to create a extra seamless app expertise to your customers. To convey pure, conversational interactions to your app learn our documentation in the present day, discover methods to construct with one among our codelabs, or subscribe to our App Actions YouTube playlist for extra data. It’s also possible to signal as much as develop for Android Well being Join in case you are enthusiastic about becoming a member of our Google Well being and Health EAP. To leap proper into how this integration was constructed, be taught extra about integrating WearOS and App Actions.


RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments