Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Public PE As PhoneEvents
End Sub
Sub Service_Create
PE.initialize("PE")
End Sub
Sub Service_Start (StartingIntent As Intent)
End Sub
Sub Service_Destroy
End Sub
Sub PE_ScreenOff
CallSub(Main,"ResetMain") ' logs off user
End Sub