as far as i know i am doing everything correctly....
it even compiles with no errors and everything but once i run the code on the emulator and even on the real phone i get a message that says "error speaking text" on both my emulator and my real phone when i run it.
i will include a small snipit of the code i use but, on the app i am developing
if i push past the error and continue it does speak.....
I just dont understand why the error..... maybe i'm missing a step first...
anyway thanks for answering my question in advance....
p.s. it only happens when i first start or run the program after i push
past the original error then everything is good.:sign0163:
'Activity module
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim TTS1 As TTS
End Sub
Sub Activity_Create(FirstTime As Boolean)
TTS1.Initialize("TTS1")
TTS1.SetLanguage("en","US")
TTS1.Pitch=1.5
TTS1.SpeechRate=1
TTS1.Speak("testing testing 1 2 3 testing testing 1 2 3",False)
End Sub
it even compiles with no errors and everything but once i run the code on the emulator and even on the real phone i get a message that says "error speaking text" on both my emulator and my real phone when i run it.
i will include a small snipit of the code i use but, on the app i am developing
if i push past the error and continue it does speak.....
I just dont understand why the error..... maybe i'm missing a step first...
anyway thanks for answering my question in advance....
p.s. it only happens when i first start or run the program after i push
past the original error then everything is good.:sign0163:
'Activity module
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim TTS1 As TTS
End Sub
Sub Activity_Create(FirstTime As Boolean)
TTS1.Initialize("TTS1")
TTS1.SetLanguage("en","US")
TTS1.Pitch=1.5
TTS1.SpeechRate=1
TTS1.Speak("testing testing 1 2 3 testing testing 1 2 3",False)
End Sub