Hi, i try to make a simple app that speach a text from a editbox. On the emulator its working ok, but installed on my HTC Desire i can't hear anything... The code is:
B4X:
Sub Activity_Resume
If TTS1.IsInitialized = False Then
TTS1.Initialize("TTS1")
TTS1.SetLanguage("en_US","")
End If
End Sub
Sub Activity_Pause (UserClosed As Boolean)
TTS1.Release
End Sub
Sub Asculta_Click
If Traducere.Text.Length > 0 Then
TTS1.Speak(Traducere.Text, True)
End If
End Sub
and the second question: is the Romanian language available for TTS?
Hi! My litle app was based exactly on that code. Now I download TTS.apk from your post and the result is the same...no sound on my HTC Desire! So, the question is: my phone doesn't support TTS? not even english? Or i must install some additional software to activate TTS?
The code you posted doesn't look exactly the same as the example. Download the project from the example and run it from the IDE. See if there are any error messages (including in the logs).
I downloaded the apk file from the link specified by you and I tested on my phone (with no change - just download in the phone and install it) and not hear anything... Sorry for trouble you but i'm really novice in B4A!
Later Edit: on IDE, both of apps (yours and mine) are working well...they refuse to work only on my phone!
Hi ThePuiu. As an "IT" guy, one needs to ask "is volume up"
on your phone? Maybe pick an app from the market that does
what you want to do and run it on you phone.
Just as I have to ask "is your power plug from your PC and
Monitor plugged into the wall and ON ?" to some of my users.
HeHe
It will be fun to see what you develop with B4A in the future,
please share! Jerry
hi myriaddev!
yes, volume is on! I did everything I went through my head...and nothing, not make a sound. Today I bought an Samsung P6800 and the same application works perfectly! So, maybe is a problem with my HTC Desire (though other programs like IGO works perfectly).
Thank you for your involvement!