Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to register a top-level intent in the Mirror API?

Example "top-level actions" would be "Google," "take a picture," etc.

Is it possible using the Mirror API to register a custom top-level event? "OK Glass, crunchify me."

A secondary question I have is if it's possible to take user speech. Using the "OK Glass, Google" example, the user says a query that Google takes and acts on. Is it possible to capture that for your custom action using the Mirror API?

like image 705
arjs Avatar asked Apr 18 '13 06:04

arjs


2 Answers

This is not yet possible with the Glass client nor the Mirror API. However, there is already a filed feature request that you can follow to get updates on the progress.

like image 166
Alain Avatar answered Nov 05 '22 06:11

Alain


You can do that right now only if you both root the device (voiding your warranty) and activate what they call "Lab experiments". More specifically one called "Native App Voice", which enables you via AndroidManifest.xml of a native APK deployed to the Glass to enable a voice shortcut on the ok,glass menu to launch an intent to your app.

See: https://gist.github.com/zhuowei/5624527

like image 1
Roberto Andrade Avatar answered Nov 05 '22 05:11

Roberto Andrade