I am trying to capture app switch key and home key on android 3.1 and 4.0 but it doesn\'t seem like its working.
here is what I am doing
@Override pu
Um.
Well, no, you can't.
public static final int KEYCODE_HOME Since: API Level 1 Key code constant: Home key. This key is handled by the framework and is never delivered to applications.
public static final int KEYCODE_HOME
Since: API Level 1
Key code constant: Home key.
This key is handled by the framework and is never delivered to applications.
http://developer.android.com/reference/android/view/KeyEvent.html