Is there some way to check the set of available activities?  I want to
check for the presence of android.speech.action.RECOGNIZE_SPEECH in
order to disable buttons that will take the user to that function on
phones that don't have the voice recognition support.

At the moment all I can tell is that I get the following exception:

android.content.ActivityNotFoundException: No Activity found to handle
Intent { action=android.speech.action.RECOGNIZE_SPEECH (has extras) }

Other posts on this list seem to suggest this exception can't be
caught.  Perhaps there is a base level Java way to determine if the
library is available.

Any help greatly appreciated.

CHEERS> SAM
--~--~---------~--~----~------------~-------~--~----~
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