Getting Error When Loading Tts
I am getting the following stack trace from some phones running my app. This works fine on my G1 and the emulator, I have never had any troubles. But I am getting the following st
Solution 1:
Check the SDK that you are running in that particular device. TexttoSpeech API has been introduced only from Android 1.6 SDK. So if you running 1.5 SDK you might face this issue.
http://android-developers.blogspot.com/2009/09/introduction-to-text-to-speech-in.html
This is the place where you must be getting that error. It tries to navigate an user to android market to download the app...Check the above link.They would have specified it there...
else
{
// missing data, install it
Toast.makeText(getApplicationContext(), R.string.install_audio_data, Toast.LENGTH_LONG).show();
Intent installIntent = new Intent();
installIntent.setAction(TextToSpeech.Engine.ACTION_INSTALL_TTS_DATA);
startActivity(installIntent);
finish();
}
There has been already an issue that has been filed on the same. Probably you need to change the conditions a bit.
IntentNotFoundException for TextToSpeech.Engine.ACTION_INSTALL_TTS_DATA
Post a Comment for "Getting Error When Loading Tts"