禁止android显示状态栏
来源:互联网 发布:前端开发算程序员吗 编辑:程序博客网 时间:2024/05/20 06:05
不让整个系统显示状态栏(信号格、运营商、时间、蓝牙、电量、wifi等),打开下面路径下文件。注释注释掉代码。
alps\frameworks\base\packages\SystemUI\src\com\android\systemui\ SystemUIService.java
public void onCreate() {
//注掉以下代码
/* boot Systemui Service HashMap<CLASS, Object> components = new HashMap<CLASS, Object>();
final int N = SERVICES.length;
for (int i=0; i cl = SERVICES[i];
Log.d(TAG, "loading: " + cl); try { mServices[i] = (SystemUI)cl.newInstance();
} catch (IllegalAccessException ex) {
throw new RuntimeException(ex);
} catch (InstantiationException ex) {
throw new RuntimeException(ex);
} mServices[i].mContext = this; mServices[i].mComponents = components;
Log.d(TAG, "running: " + mServices[i]); mServices[i].start(); } */
}
alps\frameworks\base\packages\SystemUI\src\com\android\systemui\ SystemUIService.java
public void onCreate() {
//注掉以下代码
/* boot Systemui Service HashMap<CLASS, Object> components = new HashMap<CLASS, Object>();
final int N = SERVICES.length;
for (int i=0; i cl = SERVICES[i];
Log.d(TAG, "loading: " + cl); try { mServices[i] = (SystemUI)cl.newInstance();
} catch (IllegalAccessException ex) {
throw new RuntimeException(ex);
} catch (InstantiationException ex) {
throw new RuntimeException(ex);
} mServices[i].mContext = this; mServices[i].mComponents = components;
Log.d(TAG, "running: " + mServices[i]); mServices[i].start(); } */
}
0 0
- 禁止android显示状态栏
- 禁止状态栏显示链接
- android禁止状态栏下拉
- android禁止下拉状态栏
- Android 禁止状态栏下拉
- 禁止状态栏显示超链
- Android 4.2 禁止下拉状态栏
- Android禁止状态栏下拉 4.4
- Android 禁止系统状态栏下拉
- android状态栏显示进度
- android在activity内禁止状态栏下拉
- Android 5.1系统禁止通知状态栏下拉
- Android状态栏禁止下拉异常分析
- android 状态栏显示运行图标
- android 滑动锁屏状态下如何禁止下拉状态栏?
- android在activity中禁止下拉状态栏的方法
- android在activity中禁止下拉状态栏的方法
- Android 禁止下拉状态栏和底部导航栏的控制
- JNI函数签名表
- XWPFDOCUMENT java.util.zip.ZipException: oversubscribed dynamic bit lengths tree
- IM语音
- POJ 2976 Dropping tests、3111 K Best (二分搜索)
- codeforces #30E Tricky and Clever Password KMP+Manacher+二分
- 禁止android显示状态栏
- Java移位运算符详解实例——左移位运算符>>、带符号的右移位运算符>>
- 使用Afl-fuzz (American Fuzzy Lop) 进行fuzzing测试(待续)
- Octopress 搭建静态博客网站
- CarPlay/DIO: CommunicationPlugin的基本时序
- 自定义控件四:一个简单的自定义控件实例
- android数据库的基本回顾
- 转 [github技术]git/github 使用
- BeeFramework