Android Question About 5G stat simple get

aserincn

New Member
Now,the phone lib getnetworktype has 2G-3G-4G type ,when i test my 5g stat,it will back me info~unknown .
and then in the dinner times , i think a way.
Though the phone.getdatastat to get internet stat
When it connects and type for unknown.then we have to
Dim lib:
Dim netstat as String 
Dim pho as phone

Set 5G stat:
If pho.GetDataState ="CONNECTED" Then
            If pho.GetNetworkType == "UNKNOWN" Then
                netstat="LTE 5G"
            Else
                netstat=pho.GetNetworkType
            End If
        End If
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…