D
Deleted member 103
Guest
Hi,
with the code I can check the Bluetooth status.
Is something similar also for wifi?
with the code I can check the Bluetooth status.
B4X:
Sub Service_Start (StartingIntent As Intent)
If rv.HandleWidgetEvents(StartingIntent) Then Return
If StartingIntent.Action="android.bluetooth.device.action.ACL_CONNECTED" Then
Log("bluetooth.device CONNECTED")
Else If StartingIntent.Action="android.bluetooth.device.action.ACL_DISCONNECTED" Then
Log("bluetooth.device DISCONNECTED")
End If
End Sub