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.
当 LTE 连接发生时,Android 中会发生什么?ConnectivityManager 类讲述了监控网络连接,如 WIFI、UMTS 等,但不是 LTE。此外,它没有指定从发生的附加过程中提取信息的方法,它可以是 LTE 附加或 GPRS 附加。当附加过程发生时,很多信息会传递到移动终端,例如 APN、代理地址等。如何提取这些信息以在我的应用程序中使用?
此信息由 OEM 提供。它们在 SystemProperties 中设置,可以使用 SystemProperties.get("net.pdp0.ipv6.pcscf"); 访问信息。或类似的东西,具体取决于 OEM 设置的值的名称。