#
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim si As SmsInterceptor
Dim dl As SmsMessages
Dim Froms() As String
Forms = Array As String ("Offer", "Cricket")
End Sub
Sub Service_Create
si.Initialize2("si", 999)
End Sub
Sub Service_Start (StartingIntent As Intent)
StartService("")
End Sub
Sub Service_Destroy
StopService("")
End Sub
Sub si_MessageReceived (From As String, Body As String) As Boolean
If forms.Contains(From) Then
'Code of delete the message
End If
End Sub