Has anyone gotten Speech Recognition (RecognizeIntent) to work in the
Android 1.5 SDK? Whenever I try to start the Intent my application
crashes and I get this error:
E/AndroidRuntime( 714): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime( 714): android.content.ActivityNotFoundException: No
Activity found to handle Intent
{ action=android.speech.action.RECOGNIZE_SPEECH (has extras) }
E/AndroidRuntime( 714): at
android.app.Instrumentation.checkStartActivityResult
(Instrumentation.java:1484)
E/AndroidRuntime( 714): at
android.app.Instrumentation.execStartActivity(Instrumentation.java:
1454)
E/AndroidRuntime( 714): at
android.app.Activity.startActivityForResult(Activity.java:2656)
E/AndroidRuntime( 714): at
com.shuanwang.tinkertoy.Tinkertoy.startRecognition(Tinkertoy.java:49)
E/AndroidRuntime( 714): at com.shuanwang.tinkertoy.Tinkertoy
$1.onClick(Tinkertoy.java:21)
E/AndroidRuntime( 714): at android.view.View.performClick(View.java:
2179)
E/AndroidRuntime( 714): at android.view.View.onTouchEvent(View.java:
3828)
E/AndroidRuntime( 714): at android.widget.TextView.onTouchEvent
(TextView.java:6291)
E/AndroidRuntime( 714): at android.view.View.dispatchTouchEvent
(View.java:3368)
E/AndroidRuntime( 714): at android.view.ViewGroup.dispatchTouchEvent
(ViewGroup.java:863)
E/AndroidRuntime( 714): at android.view.ViewGroup.dispatchTouchEvent
(ViewGroup.java:863)
E/AndroidRuntime( 714): at android.view.ViewGroup.dispatchTouchEvent
(ViewGroup.java:863)
E/AndroidRuntime( 714): at android.view.ViewGroup.dispatchTouchEvent
(ViewGroup.java:863)
E/AndroidRuntime( 714): at
com.android.internal.policy.impl.PhoneWindow
$DecorView.superDispatchTouchEvent(PhoneWindow.java:1707)
E/AndroidRuntime( 714): at
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent
(PhoneWindow.java:1197)
E/AndroidRuntime( 714): at android.app.Activity.dispatchTouchEvent
(Activity.java:1993)
E/AndroidRuntime( 714): at
com.android.internal.policy.impl.PhoneWindow
$DecorView.dispatchTouchEvent(PhoneWindow.java:1691)
E/AndroidRuntime( 714): at android.view.ViewRoot.handleMessage
(ViewRoot.java:1525)
E/AndroidRuntime( 714): at android.os.Handler.dispatchMessage
(Handler.java:99)
E/AndroidRuntime( 714): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 714): at android.app.ActivityThread.main
(ActivityThread.java:3948)
E/AndroidRuntime( 714): at java.lang.reflect.Method.invokeNative
(Native Method)
E/AndroidRuntime( 714): at java.lang.reflect.Method.invoke
(Method.java:521)
E/AndroidRuntime( 714): at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 714): at com.android.internal.os.ZygoteInit.main
(ZygoteInit.java:540)
E/AndroidRuntime( 714): at dalvik.system.NativeStart.main(Native
Method)
>From the error message it says I'm missing an application that
supports speech recognition the intent. If there isn't an app, how do
we get it working in the SDK? Is there If anyone could explain what
I'm missing or could post some sample code for Speech Recognition
that'd be a lot of help. 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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---