Thank You Maqsood. I tried out the sample appliaction and can have the voice recognizer work, but facing problem of: - how to determine when the 'mic' key is pressed from virtual keyboard. - Since the keyboard itself launches initial recorder, but then does not respond back with commit text, I am not able to use(or know how to apply) just part of the sample program to this case.
Any ideas/suggestions? Best Regards, NIral On Jul 23, 12:31 am, Maxood <[email protected]> wrote: > Hi Niral, > I'm also currently researching on STT. Here's the required link on > android's official website: > > http://developer.android.com/resources/articles/speech-input.html > > There is a sample available in the latest sdk for API level 8 as > well. Have you tried that out? > > Maqsoodhttp://www.twitter.com/maxood > > On Jul 22, 11:33 am, Niral Shah <[email protected]> wrote: > > > 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

