My app :
My app return True but still handcent take the sms ??
Sub Process_Globals
End Sub
Sub Globals
End Sub
Sub Activity_Create(FirstTime As Boolean)
DemarreSMS
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub MessageReceived (From As String, Body As String) As Boolean
Msgbox("From " & From & " Text " & Body, "Title")
End Sub
Sub DemarreSMS
If SMSService.ServiceRunning = False Then
StartService(SMSService)
SMSService.ServiceRunning = True
ToastMessageShow("Running in background", True)
End If
End Sub
'Service
Sub Service_Create
SI.Initialize2("SI", 999)
Log("Service initialized")
End Sub
Sub Service_Start (StartingIntent As Intent)
Log("Service Started")
End Sub
Sub Service_Destroy
SI.StopListening()
Service.StopForeground(1)
End Sub
Sub SI_MessageReceived (From As String, Body As String) As Boolean
Log("Message Received From: " & From)
ToastMessageShow(From, True)
Dim Writer As TextWriter
Log("Toast shown")
If From ="+xxxxxxxxxxxxxxx" Then
Writer.Initialize(File.OpenOutput(File.DirDefaultE xternal, "Body.txt", True))
Writer.WriteLine(Body)
Writer.Close
End If
Return True
My app return True but still handcent take the sms ??