android recent键值

Android recent 键:

  • Should bring up the application switcher dialog. */ public static final int KEYCODE_APP_SWITCH = 187;

处理函数:

} else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if (!keyguardOn) {
if (down && repeatCount == 0) {
preloadRecentApps();
} else if (!down) {
toggleRecentApps();
}
}
return -1;

你可能感兴趣的:(Android)