Most applications require the user to input some form of text, such as when typing their username and password during login.
The HMT comes with 2 main methods for inputting information:
The best method will depend on the situation, and an application may use both methods for different types of inputs. For example the keyboard is best when entering entering an e-mail address while dictation would be better suited to typing out e-mail messages.
Starts a new dictation activity for the user to enter some text using the dictation engine.
com.realwear.wearhf.intent.action.DICTATION
Extra | Type | Description |
---|---|---|
com.realwear.wearhf.intent.extra.SOURCE_PACKAGE | String | The package ID for your app.
This is required as the result is passed back to this package ID. |
When dictation is complete WearHF will send the dictation response back to your application using the following:
com.realwear.wearhf.intent.action.DICTATION_RESULT
Extra | Type | Description |
---|---|---|
com.realwear.wearhf.intent.extra.TEXT | String | The dictation result |
com.realwear.wearhf.intent.action.DICTATION_ERROR
None.
For an example of how to use dictation, see our developer example.