A aserincn New Member May 11, 2022 #1 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 Code: Copy Dim netstat as String Dim pho as phone Code: Copy If pho.GetDataState ="CONNECTED" Then If pho.GetNetworkType == "UNKNOWN" Then netstat="LTE 5G" Else netstat=pho.GetNetworkType End If End If
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 Code: Copy Dim netstat as String Dim pho as phone Code: Copy If pho.GetDataState ="CONNECTED" Then If pho.GetNetworkType == "UNKNOWN" Then netstat="LTE 5G" Else netstat=pho.GetNetworkType End If End If