Here Emulator is in portrait but screen is in Landscape how to fix this,i tried by deleting and re creating emulator with different sizes and different versions ,restarting eclipse , restarted my computer also.help me.
Please try ctrl+F11
If it is in portrait mode goes to landscape.
Same key brings back to portrait mode
left Ctrl + F11
will rotate the emulator to landscape mode
Related
I'm using orientation="sensor" in my Activity. If I start my app in portrait everything works, if I latter change my orientation everything works too (being in portrait or landscape) but if I start my app with my device in landscape, instead of my Activity being launched in landscape (like when it does if orientation="landscape") it first starts in portrait and then changes to landscape.
I want to avoid that, I want to have orientation="sensor", but with the Activity launching in portrait if the device is in portrait or in landscape if the device is in landscape.
How can I achieve this?
Thanks.
if using the emulator, press CTRL-F12 we will change portrait or landscape mode . How can i do this with BlueStack ?
This works for me for BlueStacks 4:
Install "Rotation Control" app
Enable it to appear onto taskbar; optionally with system start
Whenever you want to rotate the screen, just pull down the task bar, and give it a go
Here are the step:
Install the Nova theme in bluestack
go into Nova setting -> look and feel -> screen orientation -> Force Portrait -> go to Home screen
You are done! :)
Try This...
Go to your notification area in the taskbar.
Right click on Bluestacks Agent>Rotate Portrait Apps>Enabled.
There are several options available..
a. Automatic - Selected By Default - It will rotate the app player in portrait mode for portrait apps.
b. Disabled - It will force the portrait apps to work in landscape mode.
c. Enabled - It will force the portrait apps to work in portrait mode only.
This May help you..
The newest version of BlueStacks has the ability to rotate the screen. Open the app and there's an icon in the lower right to rotate.
New version 4.100.x.xxxx
Try this:
More Apps > Android Settings > Accessibility > Auto-rotate screen = Enabled
You could also change resolution of your bluestacks emulator.
For example from 800x1280 to 1280x800
Here are instructions for how to change the screen resolution.
To change screen resolution in BlueStacks Android emulator you need to edit two registry items:
Run regedit.exe
Set new resolution (in decimal):
HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\Android\FrameBuffer\0\Height
and
HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\Android\FrameBuffer\0\Width
Kill all BlueStacks processes.
Restart BlueStacks
On a newer version, go to setting advance, display, display resolution then change it to portrait and restart the blue stack app.
I install go launcher on mine, (Windows 8)=> preferences => Screens => Screen orientation => vertical (disable QWE keyboard)
I need to run emulator with size 1366x768 in landscape mode. But when I launch emulator, it automatically changes into portrait mode, but with same scale (height is 1366, width is 768, but I need otherwise). So, changing mode by pressing CTRL + F12 don't helps, because after changes, proportions stay the same. Any suggestion?
You may try Genymotion, fast, supports rotation and sensors too.
http://www.genymotion.com/
For Windows OS:
Run your emulator and press Number 9.By pressing Number "9". You can toggle from landscape to portrait and portrait to landscape. I hope you get it now. Here is an image which Number 9 you need to press:
For Linux:
You should use Left Ctrl + F12. It'll work for sure.
I am not sure about this, But you can try. Use NUMPAD 7 followed by NUMPAD 9.
For more information , Go Here
Also You need to see This link
Let me know if it helped. Thanks.
To force landscape mode boot-up, edit the device's configuration file to force the height and width settings.
Open this file for edit in a text editor:
C:\Users\<user>\.android\avd\<deviceName>.avd\hardware-qemu.ini
Switch the values of the width and height, so that the width is longer than the height:
hw.lcd.width = 800
hw.lcd.height = 480
The AVD now boots in Landscape mode. The orientation may still be changed with shortcut keys.
I am working on android. How to get landscape and portrait view in android tablet ?
If you rotate your tablet to landscape, then you get the landscape view, otherwise you get the portrait view.
in the emulator, use KEYPAD_7 (or Ctrl-F11) and KEYPAD_9 (or Ctrl-F12) to cycle through the layout orientations.
My app is set in landscape only mode thanks to an attribute in my manifest file, but with froyo came universal rotation and a problem. It will force the screen to landscape but if the user is holding the phone upside down my app will appear upside down. Is there a way for me to set my app to only rotate when the user has their phone orientented in both landscape positions?
I have one app in landscape mode and put in manifest this attribute:
android:screenOrientation="landscape"
Put this into activity and works fine for me (Froyo 2.2 Nexus One)
... By the way sorry for my english