1.android完整的关关机java关机代码?
android完整的java关机代码?
必须有root权限的才可以,有的机源大亨惠购源码话执行命令行就可以了 RuntimegetRuntime()exec(new String[]{ "su", "-c", "poweroff -f" }); RuntimegetRuntime()exec(new String[]{ "su", "-c", "reboot" });android完整的java关机代码?
copyright © 2016 powered by 皮皮网 sitemap