We have a 2.1 sdk(eclair) version Samsung device, which has virtual
keyboard with a microphone indicator to support speech to text (STT).
Our application is mostly a text entry application and uses
Inputconnection class and committext method to recognize the inputs
and put all the entered text on display.
In swype input mode, if we press the microphone, the voice recognition
automatically runs(shows recording interface, records, synthesizes and
sends text to commit text, and hence it is working. However, for
"Android keyboard" input , the recording interface automatically shows
up, however, we do not receive committext callback, so nothing is
updated on our text box after the recording.

So, seems we have 2 options:

1. Disable only the mike/microphone keys visibility on the Android
keypad. How can this be done?

2. Have the STT to work on the Android keyboard. Seems that the keypad
is automatically starting a recording interface - hence we do not know
how to even integrate the voice recognition program given in the sdk
2.1 examples VoiceRecognition.java file. How can we detect the
microphone/mike key was pressed? Or how can we do this?

Please suggest/provide feedback on any of the options above. Any
information will be very helpful.

Best Regards,
Niral

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to