Hi Dave, so... this is what I have understood about speech recognition
in Android 1.5:

- The only thing included (and public) in the 1.5 platform is the
RecognizerIntent class, which is just a bunch of constants to
standardize the use of speech recognition applications.

- The actual speech recognition is performed by Google Voice Search
application which is not part of the platform (nor open source) and it
is not included in the emulator images (even the one with the Google
APIs).

- Anyone is free to implement his own recognition applications but not
using the classes present in android.speech.srec because that package
is private.

If I'm right, then the "Speech recognition framework" included in 1.5
is not what I was expecting... any plans to extend it in the future?

Thanks again for your support,

Jose Luis.

On May 5, 2:14 am, Dave Sparks <[email protected]> wrote:
> 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 <[email protected]> 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 <[email protected]> wrote:
>
> > > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to