RealWear HMT-1 Developers Guide

HMT-1: a Familiar Android device

The HMT-1 runs Android 6.0 (Marshmallow) making it familiar to many existing Android developers. Applications created for most Android phones or tablets can be easily deployed and run on the HMT-1 using the standard ADB tools from Google. There is even a microUSB port built into HMT-1 to allow for easy developer connections to Android Studio and the like

The device itself has a screen resolution of 854 x 480 pixels and provides a similar experience to the user as looking at a 7 inch tablet.

 

Familiar, but different...

Unlike traditional Android devices the HMT-1 does not have a touch interface but is instead powered entirely by the user's voice commands and head gestures.

The HMT-1 comes with a built in service called WearHF which provides all of the functionality required by an application to work seamlessly on the device, in a hands-free way. There is no SDK - WearHF will automatically turn a touch-based application into a voice-driven one, at runtime, without any development required!

 

Three Approaches to Hands-Free Control

There are 3 steps to get your application working on the HMT-1 :

Do nothing (Good) - the WearHF service will automatically detect the most common controls, and assign voice commands to them at runtime. This will provide a hands-free experience to most applications.

Create a WearML script (Better) - To provide a smoother user experience, or to help WearHF understand complex applications we have created the WearML scripting language. This sits between the application and the WearHF service and allows a developer to optimize their application for hands-free, without editing the source code of their application. WearML scripts are created using our RealWear Explorer tool.

Optimize your application source code (Best) - Once you have discovered the benefits of the HMT-1 device, the final step is to edit your application to provide a fully optimized user experience. This is done by simply adding WearML metadata into the user interface components of your application - the metadata is ignored by other Android devices, but is used by HMT-1 to optimize the UI for voice.

Modifying your source code (option 3) also unlocks many other features of the HMT-1, such as prebuilt applications and applets. You can even access the low level guts of HMT-1 for those developers who really want to push the envelope of hands-free computing.

 

RealWear Explorer : An Essential Dev Tool

We do recommend a development tool to help you develop for the HMT-1; it's called RealWear Explorer.

RealWear Explorer is a PC/Mac desktop application that connects to the HMT-1 using a standard micro USB cable. It mirrors the HMT-1 screen to your desktop, allows for easy APK installation and provides a host of useful tools and utilities. RealWear Explorer is also the tool required to create and test WearML scripts to optimize binary applications for voice.

For more information and downloads, click here: RealWear Explorer

 

What's Your Environment?

HMT-1 works well with applications and webpages developed from a variety of common environments. Click on your development environment to find out more details, including code samples and demonstration applications:

Android Unity React Native Cordova HTML Xamarin