Solved

Speech to text on the Android

Posted on 2011-02-11
2
730 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 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Update Samsung Galaxy S3 to Android 5 or 6 5 71
QQ problem 22 93
how many cores in note3? 5 110
Help with Progress 4gl Rounding Function 6 61
Often, people trade privacy and security for convenience. However in today's concrete jungle, this is an extremely foolish decision considering the vast amount of technologies being used against consumer interest. First off, I won't waste any time e…
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 how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

710 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