简体   繁体   English

如何启动Android模拟器的屏幕方向?

[英]How to start the Screen Orientation of the Android Emulator?

I want to start the android emulator in landscape mode. 我想以横向模式启动android模拟器。 It only starts in portrait mode and I want to change that. 它仅以纵向模式开始,我想更改它。 All I found out is a "-onion-rotation" setting that might have something to do with it but I don't know where to set it. 我发现的只是一个“洋葱旋转”设置,可能与此有关,但我不知道在哪里设置。

Can anyone tell me more about this ? 谁能告诉我更多有关此的信息?

PS: I don't want to change the orientation with a key and I want to have the gui with the many buttons present. PS:我不想使用按键来改变方向,而我想让gui带有许多按钮。

I think this probably answers your question? 我认为这可能回答了您的问题? GoogleGroup - AndroidBeginners GoogleGroup-Android入门者

I tried for you to work in emulator in Landscape. 我试图让您在Landscape中的模拟器中工作。 but still I cant able to find the view with the buttons. 但我仍然无法通过按钮找到视图。 I am only getting the Screen size. 我只有屏幕尺寸。

//use this line in Additional Emulator command line option. //在“其他仿真器”命令行选项中使用此行。

emulator -skin HVGA-L

I am getting error as: 我收到以下错误消息:

[2011-12-23 14:02:18 - Emulator] invalid command-line parameter: emulator.
[2011-12-23 14:02:18 - Emulator] Hint: use '@foo' to launch a virtual device named 'foo'.
[2011-12-23 14:02:18 - Emulator] please use -help for more information

//so I am using only //所以我只用

 -skin HVGA-L

this works fine for me. 这对我来说很好。

I think you don't need any key for your emulator if you want you can use Emulator Keyboard Mapping 我认为如果您希望可以使用“ 模拟器键盘映射”,则不需要模拟器的任何键。

refer this for tons of info about Android Emulator 请参阅此以获取有关Android模拟器的大量信息

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM