Simple TTS application

ThePuiu

Active Member
Licensed User
Longtime User
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:
Code: Copy
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?

Thank you!
 
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?

Ty and pls excuse my english!
 
Upvote 0
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!
 
Last edited:
Upvote 0
"is volume up"

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
 
Upvote 0
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!
 
Last edited:
Upvote 0

Similar Threads

  • Question Question
Android Question TTS1 Unable to Speak
Replies
2
Views
3K
  • Question Question
Android Question [Solved] wait TTS
Replies
3
Views
4K
  • Question Question
Android Question TTS Settings
Replies
4
Views
7K
Replies
7
Views
10K
Back
Top