如何在Android模拟器中模拟按下主页按钮

时间:2011-10-02 19:13:40

标签: android android-emulator keyboard-shortcuts

在Android模拟器中,据我了解你可以模拟普通手机的大部分功能,后面是用ESC模拟的,在android模拟器中按下主页按钮的快捷方式是什么。

4 个答案:

答案 0 :(得分:57)

答案 1 :(得分:36)

来自developer android

----------------------------------------------------------------------------------
| Emulated Device Key                      |              Keyboard Key           |
----------------------------------------------------------------------------------
| Home                                     |   HOME (FN + left_arrow on Macbooks)|  
----------------------------------------------------------------------------------
| 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-F5         |
----------------------------------------------------------------------------------
| Audio volume down button                 |       KEYPAD_MINUS, Ctrl-F6         |
----------------------------------------------------------------------------------
| Camera button                            |       Ctrl-KEYPAD_5, Ctrl-F3        |
----------------------------------------------------------------------------------
| Switch to previous layout orientation    |         KEYPAD_7, Ctrl-F11          |
|(for example,portrait,landscape)          |                                     | 
----------------------------------------------------------------------------------
| Switch to next layout orientation        |         KEYPAD_9, Ctrl-F12          |
|(for example,portrait,landscape)          |                                     |  
----------------------------------------------------------------------------------
|Toggle cell networking on/off             |                   F8                |
----------------------------------------------------------------------------------
| Toggle code profiling                    | F9 (only with -trace startup option)|
----------------------------------------------------------------------------------
| Toggle fullscreen mode                   |               Alt-Enter             |
----------------------------------------------------------------------------------
| Toggle trackball mode                    |                  F6                 |
----------------------------------------------------------------------------------
| Enter trackball mode temporarily         |                Delete               |
|(while key is pressed)                    |                                     |
----------------------------------------------------------------------------------
| DPad left/up/right/down                  |             KEYPAD_4/8/6/2          |
----------------------------------------------------------------------------------
| DPad center click                        |               KEYPAD_5              |  
----------------------------------------------------------------------------------
| Onion alpha increase/decrease            |KEYPAD_MULTIPLY(*) / KEYPAD_DIVIDE(/)|
----------------------------------------------------------------------------------

答案 2 :(得分:4)

键盘主页按钮。键盘快捷键列表可用here

答案 3 :(得分:0)

新版本中的键盘快捷键已更改,请在模拟器中按 F1 以获取完整的快捷方式。 Android API_25 +