RecognizerIntent is available on mand Android devices.

And this artical may help.
http://developer.android.com/resources/articles/speech-input.html

RecongnizerIntent
http://developer.android.com/reference/android/speech/RecognizerIntent.html

2010/12/10 Robin Talwar <[email protected]>

> Yes this is the same code which i am writting
> And in my emulator it is showing "Recognizer Not Present"
>
> So i think it will rather run on a device than an emulator.
> Could you direct me to some tutorial which explains that what applications
> or libraries should i first install in my device
> and how so that i be successful in making this.
>
> Thanks
>
>   On Thu, Dec 9, 2010 at 9:26 AM, Zhenxing Zhou <[email protected]>wrote:
>
>>     the RecognizerIntent.ACTION_RECOGNIZE_SPEECH is not available on
>> the emulator.
>>
>>       *// Check to see if a recognition activity is present*
>>         PackageManager pm = getPackageManager();
>>         List<ResolveInfo> activities = pm.queryIntentActivities(
>>                 new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0);
>>         if (activities.size() != 0) {
>>             speakButton.setOnClickListener(this);
>>         } else {
>>             speakButton.setEnabled(false);
>>             speakButton.setText("Recognizer not present");
>>         }
>>
>>
>> 2010/12/9 Abhishek Talwar <[email protected]>
>>
>> Guys i tried the tutorial at
>>>
>>> http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/VoiceRecognition.html
>>> but my button is not clickable and says -> "Recognizer not present"
>>> I am testing this on emulator.
>>> Please let me know that does the emulator supports voice recognition
>>> through attached mike or not?
>>> I think this is really cool feature and i am willing to go extra mile
>>> with it.
>>>
>>> Thanks
>>>
>>> --
>>> 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]<android-developers%[email protected]>
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>>
>>
>>
>> --
>> Thanks,
>> Zhenxing Zhou
>>
>> --
>> 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]<android-developers%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Thanks,
Zhenxing Zhou

-- 
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