Posted by John Richardson, Associate Engineer
With tens of tens of millions of installs of the adidas Operating app, customers every single day flip to adidas as a part of their well being and health routine. Like many within the business, adidas acknowledged that on this ever-evolving market, it is essential to make it as straightforward as doable for customers to attain their health objectives and making their app out there on Put on was a pure match. adidas didn’t cease at bringing their operating app to the watch, nevertheless, in addition they realized that in a person scenario akin to a exercise, the flexibility to interact 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 appeared 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 in an effort to create a constant expertise between the cellular app and a watch floor. It’s a course of that appears like this:
- First, Assistant parses the person’s request utilizing pure language understanding and identifies the suitable BII. For instance, START_EXERCISE to start a exercise.
- Second, Assistant will then fulfill the person’s intent by launching the appliance to a specified content material or motion. Moreover START_EXERCISE, customers may 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 Companies and Well being Join APIs which respectively help real-time sensor and well being information, finish customers can have a cohesive and safe expertise throughout cellular and Put on OS gadgets.
“What’s thrilling about Assistant and Put on is that the mix actually helps our customers attain their health objectives. The power for a person to leverage their voice to trace their exercise makes for a novel and really accessible expertise,” says Robert Hellwagner, Director of Product Innovation for adidas Runtastic. “We’re excited by the potential of what will be completed by enabling voice based mostly interactions and experiences for our customers by App Actions.”
Enabling voice controls to unlock hands-free and eyes-free contexts is a straightforward option to create a extra seamless app expertise in your customers. To convey pure, conversational interactions to your app learn our documentation right this moment, discover construct with one in every of our codelabs, or subscribe to our App Actions YouTube playlist for extra data. You may as well signal as much as develop for Android Well being Join in case you are curious 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.