I'm working to adapt an existing Android application to run on Google Glass, as a proof of concept. I would like to use voice input in my application to replace some features that currently require touch input.
I can deploy my APK to Google Glass and run it without a problem (through ADB), but once it's running, neither Android speech recognition API I've tried works on Glass:
startActivityForResult(new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH));
This results in an ActivityNotFoundException ("no activity found to handle intent") when running on Google Glass
SpeechRecognizer.IsRecognitionAvailable(context);
This always returns false on Google Glass.
I'm curious if anyone else has run into these issues or has any suggestions.