Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)

Class android.view. KeyEvent

Added Methods
boolean   isGamepadButton ( int )  
int   keyCodeFromString ( String )  
String   keyCodeToString ( int )  
void   setSource ( int )  
 

Changed Methods
int   getDeviceId () Method was inherited from android.view.InputEvent , but is now defined locally.  
int   getSource () Method was inherited from android.view.InputEvent , but is now defined locally.  
 

Added Fields
int   KEYCODE_BUTTON_1  
int   KEYCODE_BUTTON_10  
int   KEYCODE_BUTTON_11  
int   KEYCODE_BUTTON_12  
int   KEYCODE_BUTTON_13  
int   KEYCODE_BUTTON_14  
int   KEYCODE_BUTTON_15  
int   KEYCODE_BUTTON_16  
int   KEYCODE_BUTTON_2  
int   KEYCODE_BUTTON_3  
int   KEYCODE_BUTTON_4  
int   KEYCODE_BUTTON_5  
int   KEYCODE_BUTTON_6  
int   KEYCODE_BUTTON_7  
int   KEYCODE_BUTTON_8  
int   KEYCODE_BUTTON_9