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)

就是有些厂商没有兼容?

分类:

技术点:

相关文章:

  • 2021-10-26
  • 2021-10-15
  • 2021-11-01
  • 2021-04-10
  • 2021-10-19
  • 2021-11-23
  • 2021-08-07
猜你喜欢
  • 2021-12-15
  • 2021-07-14
  • 2022-01-07
  • 2021-08-29
  • 2021-10-30
  • 2022-01-07
相关资源
相似解决方案