Solved

Speech to text on the Android

Posted on 2011-02-11
2
725 Views
Last Modified: 2012-05-11
Hey,

       I was trying to get speech to text on the android working, by following the Addison Wesley's The Developers Android Cookbook.  The example they give in the chapter seems fairly straightforward, but for some reason its not working properly... I made sure to write all the relevant files, and just to be sure, I copied the files straight out of the book, but it doesn't work...

I'm using Ubuntu on a 13" MacbookPro... so not sure if its the OS, or if its my program...

main-recipe.java

main.xml

strings.xml

AndroidManifest.xml

Appreciate any help on this!  
0
Comment
Question by:errang
2 Comments
 
LVL 5

Accepted Solution

by:
aciuica earned 500 total points
ID: 34876243
It seems that emulator has not Speech Recognition feature yet.
Following the next link answer
http://stackoverflow.com/questions/2436613/recognizerintent-action-recognize-speech-no-activity-found-to-handle-it-on-emul
I succeeded to make a step forward (the RecognizerIntent.ACTION_RECOGNIZE_SPEECH exists now), but there is another error now: Recording parameters are not supported: sampleRate 16000, channelCount 1, format 1
I read about this problem there: http://osdir.com/ml/AndroidDiscuss/2009-08/msg00324.html
but I couldn't find a solution.
I hope that you'll have more luck!
0
 

Author Comment

by:errang
ID: 34881363
Lol... yea, I couldn't find anything on this topic after a whole day of searching... I guess I'll keep searching for it for the duration of the weekend or so...

I'm trying to finish the whole book (Addison Wesley's The Developers Android Cookbook) as fast as I can... so I'll have to move ahead.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now