This intent is handled by the Google Voice Search application. Do you have it installed?
On May 4, 6:12 am, Yash Patel <[email protected]> wrote: > Hi Dave > > Here is the error i am getting. > > android.content.ActivityNotFoundException: No Activity found to handle > Intent { action=android.speech.action.RECOGNIZE_SPEECH (has extras) } > > and here is the code sample that i am using for Sppech recognize in > emulator. > > OnClickListener mTabButton = new OnClickListener() { > public void onClick(View v) { > > try > { > ArrayList<String> potentialResults = new > ArrayList<String>(); > potentialResults.add("yellow"); > potentialResults.add("green"); > potentialResults.add("blue"); > potentialResults.add("red"); > > // Create Intent > Intent intent = new > Intent("android.speech.action.RECOGNIZE_SPEECH"); > > // Settings > intent.putExtra("android.speech.extra.LANGUAGE_MODEL", > "free_form"); > intent.putExtra("android.speech.extra.PROMPT", "Speak > now"); > intent.putExtra("android.speech.extra.RESULTS", > potentialResults); > > // Start the Recognition Activity > startActivityForResult(intent, RESULT_SPEECH); > } > catch(Exception ex) { > ex.printStackTrace(); > } > > } > > On Fri, May 1, 2009 at 9:23 PM, Dave Sparks <[email protected]> wrote: > > > What is the error? > > > On May 1, 5:18 pm, Yash Patel <[email protected]> wrote: > > > I mean to say Speech Recognization. I tried to create one small > > application > > > but it gives me error. > > > > Thanks > > > Yash Patel > > > > On Fri, May 1, 2009 at 4:54 PM, Dave Sparks <[email protected]> > > wrote: > > > > > Voice recognition is a technology. You need an application to make use > > > > of it, for example the voice dialer. > > > > > On May 1, 11:17 am, Yash Patel <[email protected]> wrote: > > > > > HI, > > > > > > does any one know How to turn on Voice Recognition on Emulator. or > > is it > > > > > required to have phone or dev phone to test voice recognition > > > > application? > > > > > > I would appreciate if you can reply. > > > > > > thanks > > > > > Yash Patel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

