Hi all.
Some days ago i m posted one app in the forum
https://www.b4x.com/android/forum/threads/leitor-de-texto-text-reader.61168/
this apps its like the erel example
https://www.b4x.com/android/forum/threads/android-text-to-speech-example.7043/
today one user sended me this image ANDROID 2.3
		
		
	
	
		 
	 
the original image ANDROID 5.1.1
		 
	 
The android 2.3 dont speak and dont list the language.
on the google i found this
http://stackoverflow.com/questions/...ch-is-not-working-in-ginger-bread-android-2-3
http://stackoverflow.com/questions/...download-android-tts-engine/16836553#16836553
http://stackoverflow.com/questions/17208853/how-to-create-a-tts-engine-for-android-2-3
but how to fix this bug on Android 2.3 in B4A?
This intent will work? and how to make this intent in b4a?
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
thx all
			
			Some days ago i m posted one app in the forum
https://www.b4x.com/android/forum/threads/leitor-de-texto-text-reader.61168/
this apps its like the erel example
https://www.b4x.com/android/forum/threads/android-text-to-speech-example.7043/
today one user sended me this image ANDROID 2.3
the original image ANDROID 5.1.1
The android 2.3 dont speak and dont list the language.
on the google i found this
http://stackoverflow.com/questions/...ch-is-not-working-in-ginger-bread-android-2-3
http://stackoverflow.com/questions/...download-android-tts-engine/16836553#16836553
http://stackoverflow.com/questions/17208853/how-to-create-a-tts-engine-for-android-2-3
but how to fix this bug on Android 2.3 in B4A?
This intent will work? and how to make this intent in b4a?
			
				B4X:
			
		
		
		private void installVoiceData() {
    Intent intent = new Intent(TextToSpeech.Engine.ACTION_INSTALL_TTS_DATA);
    intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    intent.setPackage("com.google.android.tts"/*replace with the package name of the target TTS engine*/);
    try {
        Log.v(TAG, "Installing voice data: " + intent.toUri(0));
        startActivity(intent);
    } catch (ActivityNotFoundException ex) {
        Log.e(TAG, "Failed to install TTS data, no acitivty found for " + intent + ")");
    }
}thx all
 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		