Member Name | Description |
---|
A | Key code constant: 'A' key. |
AltLeft | Key code constant: Left Alt modifier key. |
AltRight | Key code constant: Right Alt modifier key. |
Apostrophe | Key code constant: ''' (apostrophe) key. |
AppSwitch | Key code constant: App switch key.
Should bring up the application switcher dialog. |
Assist | Key code constant: Assist key.
Launches the global assist activity. Not delivered to applications. |
At | Key code constant: '@' key. |
AvrInput | Key code constant: A/V Receiver input key.
On TV remotes, switches the input mode on an external A/V Receiver. |
AvrPower | Key code constant: A/V Receiver power key.
On TV remotes, toggles the power on an external A/V Receiver. |
B | Key code constant: 'B' key. |
Back | Key code constant: Back key. |
Backslash | Key code constant: '\' key. |
Bookmark | Key code constant: Bookmark key.
On some TV remotes, bookmarks content or web pages. |
Break | Key code constant: Break / Pause key. |
BrightnessDown | Key code constant: Brightness Down key.
Adjusts the screen brightness down. |
BrightnessUp | Key code constant: Brightness Up key.
Adjusts the screen brightness up. |
Button1 | Key code constant: Generic Game Pad Button #1. |
Button10 | Key code constant: Generic Game Pad Button #10. |
Button11 | Key code constant: Generic Game Pad Button #11. |
Button12 | Key code constant: Generic Game Pad Button #12. |
Button13 | Key code constant: Generic Game Pad Button #13. |
Button14 | Key code constant: Generic Game Pad Button #14. |
Button15 | Key code constant: Generic Game Pad Button #15. |
Button16 | Key code constant: Generic Game Pad Button #16. |
Button2 | Key code constant: Generic Game Pad Button #2. |
Button3 | Key code constant: Generic Game Pad Button #3. |
Button4 | Key code constant: Generic Game Pad Button #4. |
Button5 | Key code constant: Generic Game Pad Button #5. |
Button6 | Key code constant: Generic Game Pad Button #6. |
Button7 | Key code constant: Generic Game Pad Button #7. |
Button8 | Key code constant: Generic Game Pad Button #8. |
Button9 | Key code constant: Generic Game Pad Button #9. |
ButtonA | Key code constant: A Button key.
On a game controller, the A button should be either the button labeled A
or the first button on the bottom row of controller buttons. |
ButtonB | Key code constant: B Button key.
On a game controller, the B button should be either the button labeled B
or the second button on the bottom row of controller buttons. |
ButtonC | Key code constant: C Button key.
On a game controller, the C button should be either the button labeled C
or the third button on the bottom row of controller buttons. |
ButtonL1 | Key code constant: L1 Button key.
On a game controller, the L1 button should be either the button labeled L1 (or L)
or the top left trigger button. |
ButtonL2 | Key code constant: L2 Button key.
On a game controller, the L2 button should be either the button labeled L2
or the bottom left trigger button. |
ButtonMode | Key code constant: Mode Button key.
On a game controller, the button labeled Mode. |
ButtonR1 | Key code constant: R1 Button key.
On a game controller, the R1 button should be either the button labeled R1 (or R)
or the top right trigger button. |
ButtonR2 | Key code constant: R2 Button key.
On a game controller, the R2 button should be either the button labeled R2
or the bottom right trigger button. |
ButtonSelect | Key code constant: Select Button key.
On a game controller, the button labeled Select. |
ButtonStart | Key code constant: Start Button key.
On a game controller, the button labeled Start. |
ButtonThumbl | Key code constant: Left Thumb Button key.
On a game controller, the left thumb button indicates that the left (or only)
joystick is pressed. |
ButtonThumbr | Key code constant: Right Thumb Button key.
On a game controller, the right thumb button indicates that the right
joystick is pressed. |
ButtonX | Key code constant: X Button key.
On a game controller, the X button should be either the button labeled X
or the first button on the upper row of controller buttons. |
ButtonY | Key code constant: Y Button key.
On a game controller, the Y button should be either the button labeled Y
or the second button on the upper row of controller buttons. |
ButtonZ | Key code constant: Z Button key.
On a game controller, the Z button should be either the button labeled Z
or the third button on the upper row of controller buttons. |
C | Key code constant: 'C' key. |
Calculator | Key code constant: Calculator special function key.
Used to launch a calculator application. |
Calendar | Key code constant: Calendar special function key.
Used to launch a calendar application. |
Call | Key code constant: Call key. |
Camera | Key code constant: Camera key.
Used to launch a camera application or take pictures. |
CapsLock | Key code constant: Caps Lock key. |
Captions | Key code constant: Toggle captions key.
Switches the mode for closed-captioning text, for example during television shows. |
ChannelDown | Key code constant: Channel down key.
On TV remotes, decrements the television channel. |
ChannelUp | Key code constant: Channel up key.
On TV remotes, increments the television channel. |
Clear | Key code constant: Clear key. |
Comma | Key code constant: ',' key. |
Contacts | Key code constant: Contacts special function key.
Used to launch an address book application. |
CtrlLeft | Key code constant: Left Control modifier key. |
CtrlRight | Key code constant: Right Control modifier key. |
D | Key code constant: 'D' key. |
Del | Key code constant: Backspace key.
Deletes characters before the insertion point, unlike Keycode.ForwardDel. |
DpadCenter | Key code constant: Directional Pad Center key.
May also be synthesized from trackball motions. |
DpadDown | Key code constant: Directional Pad Down key.
May also be synthesized from trackball motions. |
DpadLeft | Key code constant: Directional Pad Left key.
May also be synthesized from trackball motions. |
DpadRight | Key code constant: Directional Pad Right key.
May also be synthesized from trackball motions. |
DpadUp | Key code constant: Directional Pad Up key.
May also be synthesized from trackball motions. |
Dvr | Key code constant: DVR key.
On some TV remotes, switches to a DVR mode for recorded shows. |
E | Key code constant: 'E' key. |
Eisu | Key code constant: Japanese alphanumeric key. |
Endcall | Key code constant: End Call key. |
Enter | Key code constant: Enter key. |
Envelope | Key code constant: Envelope special function key.
Used to launch a mail application. |
Equals | Key code constant: '=' key. |
Escape | Key code constant: Escape key. |
Explorer | Key code constant: Explorer special function key.
Used to launch a browser application. |
F | Key code constant: 'F' key. |
F1 | Key code constant: F1 key. |
F10 | Key code constant: F10 key. |
F11 | Key code constant: F11 key. |
F12 | Key code constant: F12 key. |
F2 | Key code constant: F2 key. |
F3 | Key code constant: F3 key. |
F4 | Key code constant: F4 key. |
F5 | Key code constant: F5 key. |
F6 | Key code constant: F6 key. |
F7 | Key code constant: F7 key. |
F8 | Key code constant: F8 key. |
F9 | Key code constant: F9 key. |
Focus | Key code constant: Camera Focus key.
Used to focus the camera. |
Forward | Key code constant: Forward key.
Navigates forward in the history stack. Complement of Keycode.Back. |
ForwardDel | Key code constant: Forward Delete key.
Deletes characters ahead of the insertion point, unlike Keycode.Del. |
Function | Key code constant: Function modifier key. |
G | Key code constant: 'G' key. |
Grave | Key code constant: '`' (backtick) key. |
Guide | Key code constant: Guide key.
On TV remotes, shows a programming guide. |
H | Key code constant: 'H' key. |
Headsethook | Key code constant: Headset Hook key.
Used to hang up calls and stop media. |
Help | Documentation for this section has not yet been entered. |
Henkan | Key code constant: Japanese conversion key. |
Home | Key code constant: Home key.
This key is handled by the framework and is never delivered to applications. |
I | Key code constant: 'I' key. |
Info | Key code constant: Info key.
Common on TV remotes to show additional information related to what is
currently being viewed. |
Insert | Key code constant: Insert key.
Toggles insert / overwrite edit mode. |
J | Key code constant: 'J' key. |
K | Key code constant: 'K' key. |
K11 | Documentation for this section has not yet been entered. |
K12 | Documentation for this section has not yet been entered. |
Kana | Key code constant: Japanese kana key. |
KatakanaHiragana | Key code constant: Japanese katakana / hiragana key. |
L | Key code constant: 'L' key. |
LanguageSwitch | Key code constant: Language Switch key.
Toggles the current input language such as switching between English and Japanese on
a QWERTY keyboard. On some devices, the same function may be performed by
pressing Shift+Spacebar. |
LastChannel | Documentation for this section has not yet been entered. |
LeftBracket | Key code constant: '[' key. |
M | Key code constant: 'M' key. |
MannerMode | Key code constant: Manner Mode key.
Toggles silent or vibrate mode on and off to make the device behave more politely
in certain settings such as on a crowded train. On some devices, the key may only
operate when long-pressed. |
MediaAudioTrack | Documentation for this section has not yet been entered. |
MediaClose | Key code constant: Close media key.
May be used to close a CD tray, for example. |
MediaEject | Key code constant: Eject media key.
May be used to eject a CD tray, for example. |
MediaFastForward | Key code constant: Fast Forward media key. |
MediaNext | Key code constant: Play Next media key. |
MediaPause | Key code constant: Pause media key. |
MediaPlay | Key code constant: Play media key. |
MediaPlayPause | Key code constant: Play/Pause media key. |
MediaPrevious | Key code constant: Play Previous media key. |
MediaRecord | Key code constant: Record media key. |
MediaRewind | Key code constant: Rewind media key. |
MediaStop | Key code constant: Stop media key. |
MediaTopMenu | Documentation for this section has not yet been entered. |
Menu | Key code constant: Menu key. |
MetaLeft | Key code constant: Left Meta modifier key. |
MetaRight | Key code constant: Right Meta modifier key. |
Minus | Key code constant: '-'. |
MoveEnd | Key code constant: End Movement key.
Used for scrolling or moving the cursor around to the end of a line
or to the bottom of a list. |
MoveHome | Key code constant: Home Movement key.
Used for scrolling or moving the cursor around to the start of a line
or to the top of a list. |
Muhenkan | Key code constant: Japanese non-conversion key. |
Music | Key code constant: Music special function key.
Used to launch a music player application. |
Mute | Key code constant: Mute key.
Mutes the microphone, unlike Keycode.VolumeMute. |
N | Key code constant: 'N' key. |
Notification | Key code constant: Notification key. |
Num | Key code constant: Number modifier key.
Used to enter numeric symbols.
This key is not Num Lock; it is more like Keycode.AltLeft and is
interpreted as an ALT key by Android.Text.Method.MetaKeyKeyListener. |
Num0 | Key code constant: '0' key. |
Num1 | Key code constant: '1' key. |
Num2 | Key code constant: '2' key. |
Num3 | Key code constant: '3' key. |
Num4 | Key code constant: '4' key. |
Num5 | Key code constant: '5' key. |
Num6 | Key code constant: '6' key. |
Num7 | Key code constant: '7' key. |
Num8 | Key code constant: '8' key. |
Num9 | Key code constant: '9' key. |
NumLock | Key code constant: Num Lock key.
This is the Num Lock key; it is different from Keycode.Num.
This key alters the behavior of other keys on the numeric keypad. |
Numpad0 | Key code constant: Numeric keypad '0' key. |
Numpad1 | Key code constant: Numeric keypad '1' key. |
Numpad2 | Key code constant: Numeric keypad '2' key. |
Numpad3 | Key code constant: Numeric keypad '3' key. |
Numpad4 | Key code constant: Numeric keypad '4' key. |
Numpad5 | Key code constant: Numeric keypad '5' key. |
Numpad6 | Key code constant: Numeric keypad '6' key. |
Numpad7 | Key code constant: Numeric keypad '7' key. |
Numpad8 | Key code constant: Numeric keypad '8' key. |
Numpad9 | Key code constant: Numeric keypad '9' key. |
NumpadAdd | Key code constant: Numeric keypad '+' key (for addition). |
NumpadComma | Key code constant: Numeric keypad ',' key (for decimals or digit grouping). |
NumpadDivide | Key code constant: Numeric keypad '/' key (for division). |
NumpadDot | Key code constant: Numeric keypad '.' key (for decimals or digit grouping). |
NumpadEnter | Key code constant: Numeric keypad Enter key. |
NumpadEquals | Key code constant: Numeric keypad '=' key. |
NumpadLeftParen | Key code constant: Numeric keypad '(' key. |
NumpadMultiply | Key code constant: Numeric keypad '*' key (for multiplication). |
NumpadRightParen | Key code constant: Numeric keypad ')' key. |
NumpadSubtract | Key code constant: Numeric keypad '-' key (for subtraction). |
O | Key code constant: 'O' key. |
P | Key code constant: 'P' key. |
PageDown | Key code constant: Page Down key. |
PageUp | Key code constant: Page Up key. |
Pairing | Documentation for this section has not yet been entered. |
Period | Key code constant: '.' key. |
Pictsymbols | Key code constant: Picture Symbols modifier key.
Used to switch symbol sets (Emoji, Kao-moji). |
Plus | Key code constant: '+' key. |
Pound | Key code constant: '#' key. |
Power | Key code constant: Power key. |
ProgBlue | Key code constant: Blue "programmable" key.
On TV remotes, acts as a contextual/programmable key. |
ProgGreen | Key code constant: Green "programmable" key.
On TV remotes, actsas a contextual/programmable key. |
ProgRed | Key code constant: Red "programmable" key.
On TV remotes, acts as a contextual/programmable key. |
ProgYellow | Key code constant: Yellow "programmable" key.
On TV remotes, acts as a contextual/programmable key. |
Q | Key code constant: 'Q' key. |
R | Key code constant: 'R' key. |
RightBracket | Key code constant: ']' key. |
Ro | Key code constant: Japanese Ro key. |
S | Key code constant: 'S' key. |
ScrollLock | Key code constant: Scroll Lock key. |
Search | Key code constant: Search key. |
Semicolon | Key code constant: ';' key. |
Settings | Key code constant: Settings key.
Starts the system settings activity. |
ShiftLeft | Key code constant: Left Shift modifier key. |
ShiftRight | Key code constant: Right Shift modifier key. |
Slash | Key code constant: '/' key. |
Sleep | Documentation for this section has not yet been entered. |
SoftLeft | Key code constant: Soft Left key.
Usually situated below the display on phones and used as a multi-function
feature key for selecting a software defined function shown on the bottom left
of the display. |
SoftRight | Key code constant: Soft Right key.
Usually situated below the display on phones and used as a multi-function
feature key for selecting a software defined function shown on the bottom right
of the display. |
Space | Key code constant: Space key. |
Star | Key code constant: '*' key. |
StbInput | Key code constant: Set-top-box input key.
On TV remotes, switches the input mode on an external Set-top-box. |
StbPower | Key code constant: Set-top-box power key.
On TV remotes, toggles the power on an external Set-top-box. |
SwitchCharset | Key code constant: Switch Charset modifier key.
Used to switch character sets (Kanji, Katakana). |
Sym | Key code constant: Symbol modifier key.
Used to enter alternate symbols. |
Sysrq | Key code constant: System Request / Print Screen key. |
T | Key code constant: 'T' key. |
Tab | Key code constant: Tab key. |
ThreeDMode | Key code constant: 3D Mode key.
Toggles the display between 2D and 3D mode. |
Tv | Key code constant: TV key.
On TV remotes, switches to viewing live TV. |
TvAntennaCable | Documentation for this section has not yet been entered. |
TvAudioDescription | Documentation for this section has not yet been entered. |
TvAudioDescriptionMixDown | Documentation for this section has not yet been entered. |
TvAudioDescriptionMixUp | Documentation for this section has not yet been entered. |
TvContentsMenu | Documentation for this section has not yet been entered. |
TvDataService | Documentation for this section has not yet been entered. |
TvInput | Key code constant: TV input key.
On TV remotes, switches the input on a television screen. |
TvInputComponent1 | Documentation for this section has not yet been entered. |
TvInputComponent2 | Documentation for this section has not yet been entered. |
TvInputComposite1 | Documentation for this section has not yet been entered. |
TvInputComposite2 | Documentation for this section has not yet been entered. |
TvInputHdmi1 | Documentation for this section has not yet been entered. |
TvInputHdmi2 | Documentation for this section has not yet been entered. |
TvInputHdmi3 | Documentation for this section has not yet been entered. |
TvInputHdmi4 | Documentation for this section has not yet been entered. |
TvInputVga1 | Documentation for this section has not yet been entered. |
TvMediaContextMenu | Documentation for this section has not yet been entered. |
TvNetwork | Documentation for this section has not yet been entered. |
TvNumberEntry | Documentation for this section has not yet been entered. |
TvPower | Key code constant: TV power key.
On TV remotes, toggles the power on a television screen. |
TvRadioService | Documentation for this section has not yet been entered. |
TvSatellite | Documentation for this section has not yet been entered. |
TvSatelliteBs | Documentation for this section has not yet been entered. |
TvSatelliteCs | Documentation for this section has not yet been entered. |
TvSatelliteService | Documentation for this section has not yet been entered. |
TvTeletext | Documentation for this section has not yet been entered. |
TvTerrestrialAnalog | Documentation for this section has not yet been entered. |
TvTerrestrialDigital | Documentation for this section has not yet been entered. |
TvTimerProgramming | Documentation for this section has not yet been entered. |
TvZoomMode | Documentation for this section has not yet been entered. |
U | Key code constant: 'U' key. |
Unknown | Key code constant: Unknown key code. |
V | Key code constant: 'V' key. |
VoiceAssist | Documentation for this section has not yet been entered. |
VolumeDown | Key code constant: Volume Down key.
Adjusts the speaker volume down. |
VolumeMute | Key code constant: Volume Mute key.
Mutes the speaker, unlike Keycode.Mute.
This key should normally be implemented as a toggle such that the first press
mutes the speaker and the second press restores the original volume. |
VolumeUp | Key code constant: Volume Up key.
Adjusts the speaker volume up. |
W | Key code constant: 'W' key. |
Wakeup | Documentation for this section has not yet been entered. |
Window | Key code constant: Window key.
On TV remotes, toggles picture-in-picture mode or other windowing functions. |
X | Key code constant: 'X' key. |
Y | Key code constant: 'Y' key. |
Yen | Key code constant: Japanese Yen key. |
Z | Key code constant: 'Z' key. |
ZenkakuHankaku | Key code constant: Japanese full-width / half-width key. |
ZoomIn | Key code constant: Zoom in key. |
ZoomOut | Key code constant: Zoom out key. |