不让整个系统显示状态栏(信号格、运营商、时间、蓝牙、电量、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. 1、android源代码下载与跟踪
  2. ReactNative调用原生封装的代码和控件
  3. Android开发人员不得不收集的代码(持续更新中)
  4. Android清除本地数据缓存代码
  5. Android 蓝牙( Bluetooth)耳机连接分析及实现
  6. Android 代码执行Linux Shell小记
  7. android studio中xml文件代码提示问题

随机推荐

  1. Android(安卓)P 默认壁纸被拉伸
  2. Installation error: INSTALL_FAILED_VER
  3. Android进程与线程基本知识四
  4. cordova Android(安卓)Platform Guide
  5. 【android】当数据库需要更新时我们该怎
  6. Android客户端上传文件,C#服务端接收文件
  7. Android(安卓)WebView相关属性
  8. android permission
  9. Android(安卓)密度转换实例
  10. android 呼入电话的监听(来电监听)转