Solved

Speech to text on the Android

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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

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.
A short article about problems I had with the new location API and permissions in Marshmallow
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

617 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