Android Question Get signal strength mobile network

rscheel

Well-Known Member
Licensed User
Longtime User
From my app I'm going to send a text message, I need to check if mobile network is available or the signal strength.
 

Semen Matusovskiy

Well-Known Member
Licensed User
If you need to transfer a large file to own website, it's important to understand effective speed. To do this it's possible to place upload script on website and to try to upload test files (beginning from small). If there is no internet connection at all, httpjob will return error code.
 
Upvote 0

rscheel

Well-Known Member
Licensed User
Longtime User
If you need to transfer a large file to own website, it's important to understand effective speed. To do this it's possible to place upload script on website and to try to upload test files (beginning from small). If there is no internet connection at all, httpjob will return error code.

What I need to do does not depend on the internet, it depends on the GSM network, I need to send an SMS as long as I have GSM coverage. Without Internet.
 
Upvote 0

rscheel

Well-Known Member
Licensed User
Longtime User
Solution

B4X:
 Dim RedDisponible As Phone
    Log("GetNetworkOperatorName: "&RedDisponible.GetNetworkOperatorName)
    Log("GetNetworkType: "&RedDisponible.GetNetworkType)
    Log("GetPhoneType: "&RedDisponible.GetPhoneType)

    If  RedDisponible.GetNetworkOperatorName <> "" And RedDisponible.GetNetworkType <> "UNKNOWN" Then
        Log("Red Disponible")
    Else
        Log("Red no disponible")
    End If
 
Upvote 0
Top