android模拟器的键盘技巧
android模拟器如果自定义一个分辨率,那可能就是没有键盘的。
那怎么操作菜单和返回什么的呢?
下面是阿权的测试结果,这个是有键盘的按键对应的:
ESC 返回键
F2 menu键
F3 拨号键
F4 挂断键
F5 搜索键
F6 滚轮
F7 锁屏
F8 禁止网络
ctrl+F12 可以切换屏幕横向和竖向
引用
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
F6
Enter trackball mode temporarily (while key is pressed)
Delete
DPad left/up/right/down
KEYPAD_4/8/6/2
DPad center click
KEYPAD_5
Onion alpha increase/decrease
KEYPAD_MULTIPLY(*) / KEYPAD_DIVIDE(/)
内容转载来自 阿权的书房