Is it possible to detect if a hardware mobile data connection exists (GPRS) on a device?
similar to this (hardware keyboard exists, By Erel):
regards
similar to this (hardware keyboard exists, By Erel):
B4X:
Sub HardwareKeyboardPresent As Boolean
Dim r As Reflector
r.Target = r.GetContext
r.Target = r.RunMethod("getResources")
r.Target = r.RunMethod("getConfiguration")
Dim keyboard As Int = r.GetField("keyboard")
Return keyboard <> 1'KEYBOARD_NOKEYS
End Sub
regards