Force Close ???

SoyEli

Active Member
Licensed User
Longtime User
Can sombody help:
My app was working good and it started getting ( Force Close ) every time I get a msg, everything else works fine with phone.

I Have : "Service module"

Sub GetMsg_MessageReceived (From As String, Body As String)
Dim SplitContact(), Msg As String
TTS1.Speak("Message from " & From & ". " & Body,True)
End Sub

If I take above ^ out, it works fine!

Thank you :BangHead:
 

joseluis

Active Member
Licensed User
Longtime User
Could you say what the problem was, in case somebody has the same problem in the future?
 
Upvote 0

SoyEli

Active Member
Licensed User
Longtime User
Sorry:

Changed this : Sub GetMsg_MessageReceived(From As String,Body As String)

To This : Sub GetMsg_MessageReceived(From As String,Body As String) As Boolean

Forgot the " As Boolean "

Thank you :icon_clap:
 
Upvote 0
Top