3

I don't want a blank screen to open when speech recognition intent is called as follows:

Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
startActivityForResult(intent, SPEECH_REQUEST);

Either I would like to give my custom screen layout or I would like to make it transparent. Is there any possibility for this design in the current gdk?

Edit:

Try the new "Clay Shooter" game on glass which uses this feature of voice recognition. I want a similar option where the voice recognition is open in the background service while the display screen is doing its work. Please help.

Anshul Goel
  • 169
  • 1
  • 5
  • 16
  • Are you trying to recognize speech immediately after a Voice Command from the Glass Home screen? Or something different... like recognize speech in your Live Card or Immersion? – dstricks Jan 31 '14 at 18:03
  • I am trying to recognize speech in my live card and that is when i have to open RecognizeIntent which shows black screen. – Anshul Goel Feb 05 '14 at 13:15

1 Answers1

2

Use the SpeechRecognizer class instead. It allows you to show your own UI / no UI at all while listening for speech.

TomTasche
  • 5,448
  • 7
  • 41
  • 67