Questions tagged «airplane»

13
如何在Android上检测飞行模式?
我的应用程序中有用于检测Wi-Fi是否已主动连接的代码。如果启用飞行模式,则该代码将触发RuntimeException。无论如何,我想在此模式下显示单独的错误消息。如何可靠地检测Android设备是否处于飞行模式?
92 java  android  airplane 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.