不让整个系统显示状态栏(信号格、运营商、时间、蓝牙、电量、wifi等),打开下面路径下文件。注释注释掉代码。
alps\frameworks\base\packages\SystemUI\src\com\android\systemui\ SystemUIService.java
public void onCreate() {
//注掉以下代码
 /* boot Systemui Service HashMap components = new HashMap();
 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(); } */
 }

更多相关文章

  1. Android开发人员不得不收集的代码(持续更新中)
  2. Android使用Application总结
  3. 如何获取Android唯一标识(唯一序列号)
  4. Android清除本地数据缓存代码
  5. Android使用ListView使用
  6. Android(安卓)TabHost使用、动态加载内容
  7. 利用Handler来更新android的UI
  8. 移植 libusb 到 Beagleboard 上的 Android
  9. ReactNative调用原生封装的代码和控件

随机推荐

  1. 【Android】魅族Flyme OS 3摄像头无法预
  2. Android编译详解之lunch命令
  3. android studio 导入eclipse项目 兼容性
  4. Android中布局属性(如android:drawableBot
  5. Android中的资源布局
  6. android招聘
  7. android中延迟执行某个任务的几种处理方
  8. Android ADT 离线下载技巧(告别在线安装的
  9. android canvas实现在图片上画图
  10. Android获取View的截图,包括各种Layout的