[英]Airplane mode in Android on BlackBerry
I have been loading an Android app onto a Z10, and noticed the code that worked on Android is not working properly on the BlackBerry. 我一直在将Android应用程序加载到Z10上,并注意到可在Android上运行的代码在BlackBerry上无法正常运行。 Specifically, the following variable
具体来说,以下变量
boolean isAirplaneMode = Settings.System.getInt(getContentResolver(),
Settings.System.AIRPLANE_MODE_ON,0) != 0;
is set to false even though the Airplane mode is enabled. 即使启用了飞行模式,也会将其设置为false。 Is there any way to query the airplane mode on a blackberry?
有什么办法可以查询黑莓机的飞行模式吗?
与BB开发人员联系,目前似乎不可能以编程方式进行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.