Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Speech to text on the Android

Posted on 2011-02-11
2
Medium Priority
?
733 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
aciuica earned 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The case of the missing phone talks about the way a small electronic gadget (the mobile phone) has penetrated into our lives and has made us addicted to it.
You should read OS supplied guidelines before developing. I can't stress that enough. The guidelines will help you understand the reasons mobile app developers do what they do.  Apple is very particular when they review appstore submissions.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

719 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