Solved

Speech to text on the Android

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IT Company 5 75
groupNoAdj 7 86
Samsung Marshmallow  - how to get rid of annoying alarm icon. 2 79
Place to store Android app 19 46
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
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.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

895 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

11 Experts available now in Live!

Get 1:1 Help Now