Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Public PhoneEvent1 As PhoneEvents
End Sub
Sub Service_Create
'This is the program entry point.
'This is a good place to load resources that are not specific to a single activity.
'https://www.b4x.com/android/help/phone.html#phoneevents
PhoneEvent1.Initialize("PhoneEvent")
End Sub
Sub PhoneEvent_ConnectivityChanged(NetworkType As String, State As String, Intent As Intent)
If State = "CONNECTED" Then
Else
ToastMessageShow("Keine Netzwerkverbindung",True)
Log(NetworkType)
Log(State)
End If
End Sub