如果想启动SystemBar:
复制代码 # am startservice -n com.android.systemui/.SystemUIService
代码方式:
要root啊
?
- Process proc = Runtime.getRuntime().exec(new String[]{"su","-c","service call activity 79 s16 com.android.systemui"});
- proc.waitFor(); Process proc = Runtime.getRuntime().exec(new String[]{"am","startservice","-n","com.android.systemui/.SystemUIService"});
- proc.waitFor();
希望本文所述对大家Android程序设计有所帮助。
注:相关教程知识阅读请移步到Android开发频道。










