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... 阅读全文
posted @ 2013-07-03 17:46 tagie 阅读(490) 评论(0) 推荐(0)
摘要: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 } 阅读全文
posted @ 2013-07-02 11:21 tagie 阅读(549) 评论(0) 推荐(0)