Arne
Arne

Reputation: 51

Android: Speech to text?

Ive had a look at the following sample code: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/VoiceRecognition.html

But i cant get it to run on the emulator. Is the layout.xml avaible for this file? Do i need to install another app in order for this one to work? All i want is a simple demo that prints out the words that the app have recognized. Thanks

Upvotes: 3

Views: 4490

Answers (2)

Tejas Sherdiwala
Tejas Sherdiwala

Reputation: 769

These codes do not run in the emulator.. Try running it on an actual device. Since the microphone present in the laptop/desktop is not compatible with the emulator but this is not the case in an actual phone.

Upvotes: 1

user432209
user432209

Reputation: 20167

If you are using Eclipse ApiDemos is part of the sample apps available through the Android SDK and AVD manager. Open that up and select the sample packages for the Android version you are working with. That will give you what you need.

Upvotes: 0

Related Questions