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 n1 As Notification
End Sub
Sub Service_Create
SI.Initialize2("SI", 2147483647)
n1.Initialize
n1.Sound = False
n1.Vibrate = False
n1.Icon = "icon"
n1.SetInfo("This is my app", "Test", Main)
n1.AutoCancel= True
n1.OnGoingEvent = True
n1.Notify(1)
End Sub
Sub Service_Start (StartingIntent As Intent)
Service.StartForeground(1,n1)
' StartServiceAt("", DateTime.Now + 3000, True)
End Sub
Sub Service_Destroy
End Sub
Sub SI_MessageReceived (From As String, Contents As String) As Boolean
Log("From: " & From & ", Contents: " & Contents)
Return False
End Sub