Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想弄清楚设备的 wifi 和移动无线电比特每秒的比率。
我在哪里/如何获得这些数字?
谢谢
您可以调用WifiManager getConnectionInfo(),它将返回一个WifiInfo,其中包含您可以获得的有关 Wifi 的所有信息。
使用ConnectivityManager获取移动和其他网络统计信息,它们可能没有您要查找的所有信息。