摘要:
//1、获得通知管理者 NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); //2、创建Intent 对象Intent intent = new Intent(this,Othe 阅读全文
摘要:
//重写实体按钮按下响应的方法 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { //判断按钮是否是back键 if(keyCode==KeyEvent.KEYCODE_BACK) { //如果抽屉打开 if(menu 阅读全文