07 2013 档案
摘要:1 /** 2 * 第三方应用过滤器 3 * 4 * @param info 5 * @return 6 */ 7 public boolean filterApp(ApplicationInfo info) { 8 if ((info.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) { 9 return true;10 } else if ((info.flags & ApplicationInfo.FLA...
阅读全文
摘要:1 public boolean onKeyDown(int keyCode, KeyEvent event) {2 if (event.getAction() == KeyEvent.ACTION_DOWN3 && event.getKeyCode() == KeyEvent.KEYCODE_BACK) {4 return true;//消费掉后退键5 6 }7 return super.onKeyDown(keyCode, event);8 }
阅读全文

浙公网安备 33010602011771号