BlackBerry 10 Dev Apha Simulator Size Issue - blackberry-10

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.

Related

Is it possible to inspect iPhone/iPad app in desktop?

I know that for Android it's possible to use Chrome://inspect to view the phone screen on your desktop. Clicking there is equal to tapping on the phone.
It's fine for browsers and after 4.4 - for apps that have some special lines of code inserted.
Whether it's possible for iPhone / iPad?
i.e. I have a REAL device with latest OS installed, which screen I'd like to be shown on MAC + clicking on the items on the screen will be equal to tappping on the phone.
XCode iOS Simulator - I am somewhat surprised you missed this part of the IDE.
It seems that this is not possible.

Blackberry 10 Development

I am developing an application in Blackberry 10. I have installed QNXMomentics for development, and Dev alpha Simulator for debugging. For running application in QNX need to specify the IP Addess from device or simulator. But on my simulator it does not showing the menu, Only the welcome screen is showing in the simulator , What the problem here
In context of your problem, Richard gives you idea about how to connect you simulator or device to your IDE you can find out one more option there is AUTO DISCOVER.
On startup of your loading your simulator on VM player their are two option for selecting screen type:
BB10DevAlfaKeyboard
BB10DevAlfaKeyboardSafe
Try 2nd option.
(*This setting for simulator debug only)
Your blackberry simulator device get stuck on welcome screen, I think this happens because of your PC hardware configuration little bit low, for first time it will take time
you have to wait till you didn't get HOME SCREEN of your BB Os 10 on your simulator.
On the simulator home screen, at the top, near the time you should see an icon that looks like a person with a gear inside. Selecting that icon will show you the IP addresses assigned to the device.
Or Run->Debug configuration...->Add new target->auto discover

Platform 4.0.3 x86 - How to run the emulator in phone mode at higher resolutions

Any idea how to run the emulator in phone mode for 720x1280 res in 4.0.3 platform?
(without using avd)
Running with the parameter: emulator-x86 -skin WXGA720 starts the emulator in tablet mode. (curiously in 4.0.4 it starts in phone mode - hardware.ini and layer files have no difference)
Anybody has the answer?
Thanks,
Asi
Can you define what you mean by "phone mode" and "tablet mode"? As far as I'm aware, Android makes no such distinction.
If you want to run with a custom screen resolution, you can set the resolution manually rather than using a skin name when running the emulator creation command, e.g. to get a Nexus 7-like device, where it's in portrait by default:
android create avd --name nexus7 --target android-16 --skin 720x1280
Though as there currently isn't a way to set the screen density (or other hardware properties) from the command line; if you want to do so, it's better to do this from the android GUI.
In platform 4.0.3, when running "emulator -skin WXGA720", for some reason the emulator does not read the hardware.ini file under development/tools/emulator/skins/WXGA720/
The reason that the emulator opens in tablet mode is insufficient lcd density. In hardware.ini it is set to 320 but the emulator does not interpret that and sets density to 160.
The solution that I was able to find is hacking emulator hw load properties.
in external/qemu/vl-android.c
change the line
long density = android_hw->hw_lcd_density;
to
long density = 320;
Of course at the end, make the platform.
Note: If you would like to show the system bar (the home and back buttons)
in external/qemu/android/hardware-properties.ini
set hw.mainkeys to no
Asi Mugrabi

Iphone simulator is not having phone shape

Iphone Simulator, in my Mac system, is not having regular phone shape like
Instead it looks like a window
When I give iOS Simulator->Hardware->rotate left, it gives a irregular shape
My Mac system Specification is
OSX: version 10.6.8
xcode: version 3.2.6
iOS: version 4.3
How this can be corrected?
The simulator is displayed this way if your screen is too small to fit the full version. Are you using something with a relatively small screen, like a MacBook Air?
If so it may not be a bug (well, the second screenshot is, obviously, but the first may not be).
Also check what Hardware > Device settings your simulator is using. If it's set to iPhone (Retina), try changing it to just iPhone, which should fit on your screen better.
Also, check the Window > Scale and see if it lets you change it.
Best thing is to reinstall xcode and ios sdk
You change simulator shape for iPhone device
MacBook Air
Simulator settings -> Window -> Show device bezels

iPhone simulator running invisible

iPhone simulator is running on my Mac but it's not showing the simulator. Two days back I had installed the Mac OS X 10.5.6 update. Xcode is launching the aplication in simulator, and it's running, as I can see the outputs on the gdb console window. But the simulator is not shown.
Try to remove ~/Library/Preferences/com.apple.iphonesimulator.plist
Had the same issue. The simulator was running somewhere way off screen. Could see it using expose, but couldn't move it.
Rather than using "Detect Displays", which didn't work for me, I changed the screen resolution and that popped it back into place.
Have you previously had an external monitor connected? Perhaps Mac OS X saved the simulator window off-screen the last time it was run?
In the System Preferences, select Displays and click the "Detect Displays" button while the simulator is running. That should force the simulator window to appear on-screen.
Nothing worked except the good old IT joke, Turn it off & on again! (Completely restarting the whole machine worked for me).