編輯:初級開發
KeyEvent.KEYCODE_UNKNOWN,
KeyEvent.KEYCODE_SOFT_LEFT,
KeyEvent.KEYCODE_SOFT_RIGHT,
KeyEvent.KEYCODE_HOME,
KeyEvent.KEYCODE_BACK,
KeyEvent.KEYCODE_CALL,
KeyEvent.KEYCODE_ENDCALL,
KeyEvent.KEYCODE_0 | ('\uff09' << SHIFT_FWCH), // )
KeyEvent.KEYCODE_1 | ('\uff01' << SHIFT_FWCH), // !
KeyEvent.KEYCODE_2 | ('\uff20' << SHIFT_FWCH), // @
KeyEvent.KEYCODE_3 | ('\uff03' << SHIFT_FWCH), // #
KeyEvent.KEYCODE_4 | ('\uffe5' << SHIFT_FWCH), // $ - fullwidth Yuan
KeyEvent.KEYCODE_5 | ('\uff05' << SHIFT_FWCH), // %
KeyEvent.KEYCODE_6 | ('\u2026' << SHIFT_FWCH), // ^ - Apostrophe
KeyEvent.KEYCODE_7 | ('\uff06' << SHIFT_FWCH), // &
KeyEvent.KEYCODE_8 | ('\uff0a' << SHIFT_FWCH), // *
KeyEvent.KEYCODE_9 | ('\uff08' << SHIFT_FWCH), // (
KeyEvent.KEYCODE_STAR,
KeyEvent.KEYCODE_POUND,
KeyEvent.KEYCODE_DPAD_UP,
KeyEvent.KEYCODE_DPAD_DOWN,
KeyEvent.KEYCODE_DPAD_LEFT,
KeyEvent.KEYCODE_DPAD_RIGHT,
KeyEvent.KEYCODE_DPAD_CENTER,
KeyEvent.KEYCODE_VOLUME_UP,
KeyEvent.KEYCODE_VOLUME_DOWN,
KeyEvent.KEYCODE_POWER,
KeyEvent.KEYCODE_CAMERA,
KeyEvent.KEYCODE_CLEAR,
KeyEvent.KEYCODE_A,
KeyEvent.KEYCODE_B | ('\uff3d' << SHIFT_FWCH), // ]
KeyEvent.KEYCODE_C | ('\u00a9' << SHIFT_FWCH), // copyright
KeyEvent.KEYCODE_D | ('\u3001' << SHIFT_FWCH), // \\
KeyEvent.KEYCODE_E | ('_' << SHIFT_FWCH), // _
KeyEvent.KEYCODE_F | ('\uff5b' << SHIFT_FWCH), // {
KeyEvent.KEYCODE_G | ('\uff5d' << SHIFT_FWCH), // }
KeyEvent.KEYCODE_H | ('\uff1a' << SHIFT_FWCH), // :
KeyEvent.KEYCODE_I | ('\uff0d' << SHIFT_FWCH), // -
KeyEvent.KEYCODE_J | ('\uff1b' << SHIFT_FWCH), // ;
KeyEvent.KEYCODE_K | ('\u201c' << SHIFT_FWCH), // "
KeyEvent.KEYCODE_L | ('\u2019' << SHIFT_FWCH), // '
KeyEvent.KEYCODE_M | ('\u300b' << SHIFT_FWCH), // > - French quotes
KeyEvent.KEYCODE_N | ('\u300a' << SHIFT_FWCH), // < - French quotes
KeyEvent.KEYCODE_O | ('\uff0b' << SHIFT_FWCH), // +
KeyEvent.KEYCODE_P | ('\uff1d' << SHIFT_FWCH), // =
KeyEvent.KEYCODE_Q | ('\t' << SHIFT_FWCH), // \t
KeyEvent.KEYCODE_R | ('\u00ae' << SHIFT_FWCH), // trademark
KeyEvent.KEYCODE_S | ('\uff5c' << SHIFT_FWCH), // |
KeyEvent.KEYCODE_T | ('\u20ac' << SHIFT_FWCH), //
KeyEvent.KEYCODE_U | ('\u00d7' << SHIFT_FWCH), // multiplIEr
KeyEvent.KEYCODE_V | ('\uff3b' << SHIFT_FWCH), // [
KeyEvent.KEYCODE_W | ('\uff40' << SHIFT_FWCH), // `
KeyEvent.KEYCODE_X, KeyEvent.KEYCODE_Y | ('\u00f7' << SHIFT_FWCH),
KeyEvent.KEYCODE_Z,
KeyEvent.KEYCODE_COMMA | ('\uff1f' << SHIFT_FWCH),
KeyEvent.KEYCODE_PERIOD | ('\uff0f' << SHIFT_FWCH),
KeyEvent.KEYCODE_ALT_LEFT, KeyEvent.KEYCODE_ALT_RIGHT,
KeyEvent.KEYCODE_SHIFT_LEFT, KeyEvent.KEYCODE_SHIFT_RIGHT,
KeyEvent.KEYCODE_TAB, KeyEvent.KEYCODE_SPACE, KeyEvent.KEYCODE_SYM,
KeyEvent.KEYCODE_EXPLORER, KeyEvent.KEYCODE_ENVELOPE,
KeyEvent.KEYCODE_ENTER, KeyEvent.KEYCODE_DEL,
KeyEvent.KEYCODE_GRAVE, KeyEvent.KEYCODE_MINUS,
KeyEvent.KEYCODE_EQUALS, KeyEvent.KEYCODE_LEFT_BRACKET,
KeyEvent.KEYCODE_RIGHT_BRACKET, KeyEvent.KEYCODE_BACKSLASH,
KeyEvent.KEYCODE_SEMICOLON, KeyEvent.KEYCODE_APOSTROPHE,
KeyEvent.KEYCODE_SLASH,
KeyEvent.KEYCODE_AT | ('\uff5e' << SHIFT_FWCH),
KeyEvent.KEYCODE_NUM, KeyEvent.KEYCODE_HEADSETHOOK,
KeyEvent.KEYCODE_FOCUS, KeyEvent.KEYCODE_PLUS,
KeyEvent.KEYCODE_MENU, KeyEvent.KEYCODE_NOTIFICATION,
KeyEvent.KEYCODE_SEARCH
很多初入Android的開發者可能會發現經常遇到Force Close或ANR這樣的問題,一般我們通過android系統的錯誤日志打印工具Logcat可以看到出錯的內容
上課講義之 1: 高煥堂講解 Intent-based ProgrammingAndroid的4種嫡系組件(即Activity、Service、IntentReceiv
網上關於獲取未安裝的APK圖標的文章滿天飛,但都是轉帖,運行後的效果卻是獲取到android的默認小機器人圖標.那個暴寒....現提供解決方法如下,廢話不說,上效果圖,
HTC Hero作為一款硬件配置強悍的智能手機,對不同版本的android系統兼容性非常好,曾有用戶將HTC新機Espresso內的2.1版android系統和最新的S