Make your next Android app a good listener - TechRepublic
Make your next Android app a good listener This tutorial demonstrates how simple it is to use the Android Speech to Text API. Last week I wrote a post on how easy it is to add text-to-speech capability to your Android applications . It's easy because Google's speech API does all the heavy lifting for us. But the API doesn't stop at speaking text aloud -- it also allows you to speak to the device and then translates those voice commands into text an application can use. This tutorial demonstrates how to add voice recognition to your next Android app. Feel free to follow along or download the entire project and import it directly into Eclipse. 1. Create a new Android project in Eclipse. Target Android 2.2 or higher. 2. In the /res/layout directory, modify the activity_main.xml file to include a text view and an image button. activity_main.xmlRead full article from Make your next Android app a good listener - TechRepublic
No comments:
Post a Comment