Android SDK1.5 模拟器 快捷键 (模拟 屏幕旋转 轨迹球等。。。)

[table]
|Emulated Device Key| Keyboard Key|

|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 [color=red]<-这里貌似写错了应该是Ctrl-F11[/color]|
|屏幕旋转 Switch to next layout orientation (for example, portrait, landscape) | KEYPAD_9, [color=red]F12<-这里貌似写错了应该是Ctrl-F11[/color]|
|Toggle cell networking on/off| F8|
|Toggle code profiling | F9 (only with -trace startup option)|
|Toggle fullscreen mode| Alt-Enter|
|轨迹球 Toggle trackball mode| F6 [color=red](调出后,鼠标移动控制)[/color]|
|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(/)|
[/table]

[color=blue]关于屏幕旋转, 貌似转了后会调用 Activity的onDestory,然后重新创建一个Activity调用onCreate的。 不知道真机怎么样。

难道要保持屏幕上次的样子,需要自己程序记录下当前屏幕状态吗?[/color]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值