Google Voice Search is a Google application, not part of the Android
platform. It will only be present on devices that have a Google
license agreement.

However, because it uses the intent system, it is possible for someone
else to provide competing solution.

On May 4, 2:12 pm, qvark <joseluishuertasfernan...@gmail.com> wrote:
> Hi Dave, I don't understand this very well... does it mean that speech
> recognition is not part of the platform but provided by a Google app?
>
> Can we expect it to be present in every device with Android 1.5? Is
> the Google Voice Search application always needed even if we are not
> using speech recognition to perform web searches?
>
> Thanks,
>
> Jose Luis.
>
> On 4 mayo, 20:46, Dave Sparks <davidspa...@android.com> wrote:
>
> > This intent is handled by the Google Voice Search application. Do you
> > have it installed?
>
> > On May 4, 6:12 am, Yash Patel <yashjpa...@gmail.com> 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 <davidspa...@android.com> 
> > > wrote:
>
> > > > What is the error?
>
> > > > On May 1, 5:18 pm, Yash Patel <yashjpa...@gmail.com> 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 <davidspa...@android.com>
> > > > 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 <yashjpa...@gmail.com> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to