mengshu-lbq

5G网络类型 ?

        TelephonyManager telephonyManager = (TelephonyManager)
                context.getSystemService(Context.TELEPHONY_SERVICE);
        int networkType = telephonyManager.getNetworkType();
        if (TelephonyManager.NETWORK_TYPE_NR ==networkType) {
            // 5G
        }    

看介绍:https://stackoverflow.com/questions/55598359/how-to-detect-samsung-s10-5g-is-running-on-5g-network

返回的还是13(LTE)

就是有些厂商没有兼容?

分类:

技术点:

相关文章:

  • 2022-01-07
  • 2021-08-19
  • 2022-01-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-14
猜你喜欢
  • 2021-11-17
  • 2021-11-16
  • 2022-02-09
  • 2021-11-14
相关资源
相似解决方案