今天換了這一本Google Android 2.X應用程式開發實戰,看到3.2.1 控制模擬器這節,有個模擬器和個人電腦的鍵盤對照表,這真是好物,不然都不知怎樣用鍵盤來控制模擬器,上Google查到Android Emulator 功能鍵也有敘述,轉貼一部分到這備份筆記:
底下是 v0.9 beta 及之後的。
Home | HOME |
Menu (left softkey) | F2 or Page-up button |
Star (right softkey) | Shift-F2 or Page Down |
Back | ESC |
Call/dial button | F3 |
Hangup/end call button | F4 |
Search | F5 |
Power button | F7 |
Audio volume up button | KEYPAD_PLUS, Ctrl-5 |
Audio volume down button | KEYPAD_MINUS, Ctrl-F6 |
Camera button | Ctrl-KEYPAD_5, Ctrl-F3 |
Switch to previous layout orientation (for example, portrait, landscape) | KEYPAD_7, F11 |
Switch to next layout orientation (for example, portrait, landscape) | KEYPAD_9, F12 |
Toggle cell networking on/off | F8 |
Toggle code profiling | F9 (only with -trace startup option) |
Toggle fullscreen mode | Alt-Enter |
Toggle trackball mode | Ctrl-T |
DPad left/up/right/down | KEYPAD_4/8/6/2 |
DPad center click | EYPAD_5 |
Onion alpha increase/decrease | KEYPAD_MULTIPLY(*) / KEYPAD_DIVIDE(/) |