我怎样才能在运行时在Eclipse模拟器切换方向 [英] How can I switch orientation at runtime in Eclipse Emulator
问题描述
我一直在做测试用我的Android项目,我已经建立方向改变功能集成到我的应用程序,但是当我改变蚀模拟器的方向,它(这取决于它是如何开始或横向)仍然肖像。
I have been doing testing with my android project, and I have built orientation change functionality into my app, but when I change the orientation in Eclipses emulator, it remains in portrait(or landscape depending on how it started).
编辑**:模拟器本身旋转,但APP的犯规。
EDIT**: The emulator itself rotates, but the APP doesnt.
以及公共无效onConfigurationChanged(配置C)
方法不会被调用。
是的,我已经把的android:configChanges =方向
在我的清单
Yes I have put android:configChanges="orientation"
in my manifest
我想preFER不是必须购买用于测试的手机,这样有利于将欣然AP preciated!
I would prefer not to have to buy a phone for testing, so help would be graciously appreciated!
推荐答案
Android模拟器的方向不能改变方向的事件而改变,因此这个问题被关闭。
The Android Emulator orientation cannot be changed by orientation change events and therefore this question is closed.
这篇关于我怎样才能在运行时在Eclipse模拟器切换方向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!