Emulator Problem - android-emulator

When I'm lunching an app the emulator is to big for the screen and it is on the side.
What to do?
Thanks,
Nahum

You should learn emulator tutorial and also see here: emulator

The emulator screen can be rotated by pressing:
F11
7 on your Number pad
Which one to use may vary by machine.

Just try it by changing orientation or you can reduce screen resolution when you create avd it'll ask for skin select hvga.If you want to modify current emulator screen size just go to window--->sdk and avd manager--> and it'll display list of avds you have select one avd and edit it's skin property to hvga or whatever you want.

Related

How to get Android emulator to rotate its window

The new Android emulator installed with Android Studio Bumblebee has two buttons in its toolbar to rotate the emulated device 90 degrees clockwise or anticlockwise. On the old emulator rotating the device would rotate the emulator's window as well, but on the new one it doesn't.
So if you start the emulator in portrait mode and rotate you get a tiny landscape device image stuck across the middle of the emulator's portrait window, and if you start the emulator in landscape mode and rotate you get a tiny portrait device image stuck up the middle of the emulator's landscape window.
Is there any way to recreate the old behaviour where pressing the rotate buttons would rotate the emulator's window to fit the rotated phone image inside it?
[Running on Linux with kde window system, in case it make any difference]
I think to recreate old behavior with regards to separate emulator window and rotation you may want do the following:
1. Disable the docking and may be open in Window mode to keep emulator window separate from the main IDE as shown below
2. To rotate, Virtual sensors option can be utilized as follows. Steps are marked 1,2,3 & 4. Beware seems the button marked 4 only appears for few seconds.
Also, one can horizontally expand the emulator window pane when device is in landscape position, to get a feel of landscape window like below:
Following blog post can also be helpful in this regard:
https://android-developers.googleblog.com/2020/10/android-studio-41.html
In case important e.g. if options do not appear the same, i'm using Moonlight(Material) theme

Android emulator stays minimized (eclipse, windows 7)

This is an issue that happens to me just sometimes, most of the times the emulator works ok.
screenshot of the problem with the emulator
The thing is, that the emulator starts but it can not be maximized. It doesn't matter if you click on its "window" from the Tasklist at the bottom or you try to force it to maximize/make it go to the front from the Task-manager; it just doesn't react to it.
In the little window that appears when you have the mouse over the task (see screenshot), you can even watch the emulator starting and waiting for the interaction with the clock and so on, but it is not accessible.
Any ideas?!
I had the same issue after forcing the emulator to close during debugging.
To fix the problem, try changing the screen resolution of the virtual device under Edit in the AVD manager and then launch the virtual device.
This fixed the issue for me and I was able to revert to the original resolution without any problems.

BlackBerry 10 Dev Apha Simulator Size Issue

I want to do some magic with BB. So I decided to go with BlackBerry Cascades. For that I downloaded Native SDK (772 MB) and Simulator (242 MB) and Photsjop plug in. I installed Native SDk and simulator and I opened the Simualtor in Vm.
Till here there is no issues., but when Simulator opens Size of Simulator is too large like there are scrollers to see the complete Simulator. How to fix the size of simulator with according to the vmware size.
I changed the Value in Controllers.exe, but it doesn’t get differences. So please let me know, how to solve this issue.
Hi You can resize you Vmware simulator according to your monitor screen size.following is the steps for that.
1. Go to where the simulator Vmware is installed (in my case: C:\Users\\Documents\Virtual Machines\BlackBerry10Simulator-BB10_0_06)
Go to the "controllers" folder
Run "controller.exe"
Select Connection > Connect
Type the simulator's IP address and press Connect (verify it says "Connected to 192.168.xxx.xxx" on the bottom of the screen)
Go to Device > Change Zoom Level; enter 40% or percentage then Apply.
Sometimes controller doesn't work as you expect.
I use following way to change simulator's zoom. Connect to the simulator using telnet with login/password devuser/devuser. Then put the command ves-zoom <zoom_value>
Where zoom_value is the percentage value of desired zoom.
Look at Simulator Configuring to clarify.

iOS Simulator v5.1 window is missing device frame and Home Button

Is there a way to revert the look & feel of iOS Simulator window back to how it used to look in 5.0 and older versions?
P.S. I know Cmd-Shift-H shortcut for Home Button.
For anyone who comes here with this problem, but does not read the comments, you can get it back by hitting CMD-1 (as noted above), but it will only show for the full size emulation, if you want it zoomed out, it goes away.
then you have to use the shift-cmd-H to click the home button. And you can do it twice to simulate the click-click to show running apps, and then close them. (Don't press and hold tho, that will just trigger it to keep opening/closing the running apps window)
If you have a Retina Display macbook, you must set set the display to the highest resolution to see the iPad/iPad Retina frame on the simulator.
Hope this helps someone out!
You have to Choose Hardware > iPhone, and THEN hit Command + 1...I'm surprised nowhere else was this posted in this order. Happy Coding!
I had the same issue with a previous SDK and I had to reinstall the SDK in order to have the frame back again (I needed it for some screen shots).
So I am almost sure that it is not related to the retina resolution.
Unfortunately it is not possible to bring back device frame around display - I believe it's because of necessity to save up display space when simulating iPad's retina display. Maybe some day, when MBP, MBA and other Apple's machines will have retina displays, device frame will be back ;)
Note: if someone proves me wrong and we can have device frame, I'll of course mark his/her answer as correct one :)
This page explain it all:
http://iphonedev.tv/blog/2014/2/25/xcode-fix-show-the-iphone-simulator-skin-on-a-retina-display
Option 1: Turn Off Scaling
If you scale the size of the iPhone simulator to 50% or 75% the skin will not display.
Option 2: Get a Retina Display
No retina display, no iphone frame
Just hitting CMD-1 didn't work for me, nothing happened.
However, after switching repeatedly between CMD-1, CMD-2 and CMD-3 in a quick manner, all of a sudden I got the frame back! Hope it helps others!

Landscape mode not working with no keyboard in AVD?

I've created two AVDs, one with hardware keyboard, and other without..the one with keyboard shows the landscape mode in the android screen when I click CTRL + F11/F12 or 7/9 on numpad, but in the AVD with no hardware keyboard, the hardware things all change orientation, like the first AVD, but the android screen stays and doesn't change orientation to landscape, like this: http://img571.imageshack.us/img571/3624/landscapeh.jpg
This is a bug in the 2.3 AVD and it is already answered here
Android - Emulator in landscape mode, screen does not rotate
Run 'Android SDK and AVD Manager'
Select AVD
Edit
check Keyboard lid support
if value is no, set to yes.
Run AVD and try
Good luck!!
I had the same problem with an API 19 (Android 4.4.2). I had wanted to only support running in Landscape mode. Despite setting Orientation to Portrait when editing the device (under Startup size and orientation), the device would always start Portrait.
I ended up manually switching the width and height in the hardware-qemui.ini file.
So, edit this file 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.