Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
刚接触,感觉好牛逼。不知可不可以开启或关闭飞行模式?
可以啊!!
@皓月 可是我在文档中总也找不到,麻烦提示一下好吗
//开启飞行模式 new Shell().exec("su -c 'settings put global airplane_mode_on 1; am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true'")
//关闭飞行模式 new Shell().exec("su -c 'settings put global airplane_mode_on 0; am broadcast -a android.intent.action.AIRPLANE_MODE --ez state false'")
谢谢
@皓月 谢谢,试用了下,并未生效,需要root吗,还是和andriod版本有关系
@wdmzjzyg 确实需要root的。
与 Auto.js 的连接断开,我们正在尝试重连,请耐心等待