IntentNotFoundException for TextToSpeech.Engine.ACTION_INSTALL_TTS_DATA

Posted by Casebash on Stack Overflow See other posts from Stack Overflow or by Casebash
Published on 2010-05-07T05:29:53Z Indexed on 2010/05/21 6:40 UTC
Read the original article Hit count: 241

Filed under:
|
|

I am trying to implement text to speech by following this article on the Android Developers Blog. It suggests the following code for installing text to speech data if it is not supported.

Intent installIntent = new Intent();
installIntent.setAction(TextToSpeech.Engine.ACTION_INSTALL_TTS_DATA);
startActivity(installIntent);

This throws an Exception:

ActivityNotFoundException: No activity found to handle Intent

However, I am using the code here to determine the the intent is actually supported. Here is the list representation:

[ResolveInfo{43cc5280 com.svox.pico.DownloadVoiceData p=0 o=0 m=0x108000}]

Why doesn't this work?

© Stack Overflow or respective owner

Related posts about android

Related posts about intent