AVD Droid X skins don't fit on the screen - eclipse-plugin

I'm teaching myself Android (using a book) and I've downloaded Tea Vui Huang's Droid X skin for the using with the Android SDK in Eclipse. When I run the emulator, the top of the window showing the Droid X's screen runs off the top of my laptop screen. Is there anyway to make the skin smaller? This happens with the WVGA854 skin that comes with Android, too. Is this just the fact that the real Droid X screen is 854 pixels high, and my laptop is 768 high, and there's no way to "shrink" the Droid X emulator display?
There is a Windows trick that lets you move windows who's control bar has moved off screen. I thought I could use it to slide the Window up and down so I could sequentially see the top and bottom, e.g. to access the app-tray button at the bottom of the screen. Windows won't let me do this...once I start this trick, it won't let me leave the top of the window off-screen.
Any advice appreciated. Thanks.

You need to run it with -scale command line option.

Related

Why does my packaged game not launch in fullscreen unreal engine 5?

Whenever I launch my game in standalone mode or packaged, the game doesn't go fullscreen even if I press F11 (shortcut to fullscreen / windowed mode).
Here's a demo of the problem : youtube link
If I put in the console r.SetRes 1920x1080, then the game goes fullscreen (for a 1080p screen). But end-users can't access console.
What do I do to make it go fullscreen?
The problem lies within window's screen settings (tested on windows 10 & 11).
One option in window is called "resolution scaling". When this is not 100%, then the game will not cover the screen (if scale > 100) or zoom too much in the game (if scale < 100).
In UE, there's an option to automatically ajust the game to window's scale setting.
It's the "Allow High DPI in Game Mode" in the project settings (under Engine - User Interface). Check that to true and problem solved.

Xcode 6 & Swift: Black bars appear above and below the viewcontroller on iOS 7 iPhone 5 device

I created a single view test app and tried running it on my iPhone 5 with iOS 7 installed. It looks like the screen is set to the iPhone 4 size and black bars appear above and below the view controller. I just created the project with Xcode 6 and tried running it without touching any other settings. Has anybody else seen this?
In order to solve this problem you have to create launch-screen images for the devices your app supports.
When starting a new app:
For instance let's say your app supports iPhones > 4s, so iPhone: 4s, 5, 5s, 6 and 6plus.
Make sure to make launch-images which have the following dimensions:
iPhone4s = 640 × 960
iPhone5, 5s = 640 × 1136
iPhone6 = 750 x 1134
iPhone6plus = 1242 x 2208
For more info about iOS screen dimensions, see this helpful chart
Select your project and then the general settings:
Select or make launch screens in the general section when clicked on your project.
And then make sure you add or select an Launch-image asset:
Go to images.xcassets and select LaunchImage at the left, then select the devices your app supports (at the right)
Make sure you put your images on the right spot, you can select the dashed square and see in the attributes inspector (right section on screen) what dimensions your image needs to meet.
Now when simulating your app all black bars have disappeared.
You need to add a Default-568h#2x.png launch image. Here is one that I found by googling (I didn't create it and take no credit for it):
https://jira.appcelerator.org/secure/attachment/31241/Default-568h#2x.png
If you want to create your own image its dimensions have to be 640 × 1136. Since you did no customizing the filename should be "Default-568h#2x.png".
For some reason, the default LaunchScreen.xib that comes with a new project on Xcode 6.1 is 480x480, while the standard .xib file size for auto layout and adaptive layout appears to be 600x600. If you set the LaunchScreen.xib view size to 600x600, it should fix the problem, did for me.
Make sure you add a launch image for your device screen size and that will fix your problem.
I have had the same issue. In my universal app I configured orientation for iPad and iPhone and forgot to set back devices drop down to Universal (on target general settings screen). When I set it back - screen shows as expected.

IBM Worklight: iPad Splash Screen in iOS 7

I am using Worklight Consumer Edition 5.0.6.1 with latest interim fix and have the following questions regarding splash screen:
(1) When my app is running on iPad simulator (iOS 7), there is a black space at the top of the splash screen. Please see the screenshot below.
[There is no such problem when running on iPhone (iOS 7)]
(2) I have turned on "AutoHideSplashScreen" as "true" in config.xml for iOS. And there is logic inside my js to hide the splash screen. However, I discover that before the logic inside my js is executed, the splash screen was hidden already.
[There is no such problem for Android]
Do you have any idea? Thanks.
===========================================================================
EDIT: For the iPad splash screen problem, I have done the following tests in iOS Simulator (iOS 7.0.3). Please note that you need to manually delete the app after a trial, clean the project and build again or otherwise the change sometimes will not be effective.
Trial 1: Specify launch image for 768 x 1004 (iOS 6.1 and Prior) and 768 x 1024 (iOS 7):
Result: At the beginning, it takes the image for iOS7 (no black space at the top). After 1 second, it takes the image for iOS 6.1 and Prior (there is a black space at the top). So, the splash screen was "flashed" and the black space suddenly appear for this transition.
Trial 2: Specify launch image for 768 x 1004 (iOS 6.1 and Prior) and does not specify 768 x 1024 (iOS 7):
Result: There is black space at the top always in launch screen.
Trial 3: Does not specify launch image for 768 x 1004 (iOS 6.1 and Prior) and specify 768 x 1024 (iOS 7):
Result: There is whole black screen for around 1 second. And afterwards, the launch screen shows normally without black space at the top.
So, it seems that the launch screen always loads in the following sequence:
iOS 7 --> iOS 6.1 and Prior --> Start the app
Try to put your own Splash Screen image, with the correct sizes recommended by Apple: https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/LaunchImages.html
It seems the default Worklight splash screen does not have a matching size.
In XCode, in the General settings for your project, scroll until you see the list of Launch Images. You should see in the right column some images with the words "No image selected". Make sure there is a match for each for those images.
Re 2:
There is no point in comparing to Android...
Worklight utilizes its own splash image mechanism, so the AutoHideSplashScreen flag is of no use; you cannot control when to hide the splash image, at this time.
Re 1:
Will be investigated.

Force showing keyboard in metro?

I'd like to be able to force the keyboard to show on screen in my Metro app. My goal is to test out different layouts/controls and get a feel for the interaction. My problem is that I'm running Win8 on a MacBook Pro (Parallels) and I don't know how to override the physical keyboard and show it on screen instead.
Similarly, I'd like to be able to force rotation if possible.
You could run your app the Simulator. You can put the Simulator in "Touch Mode" and that will interpret mouse clicks as touch events in the on screen controls like Text Boxes and you can choose to rotate the Simulator into profile as well.

How can I test landscape view using the iPhone Simulator?

I wonder if I can test landscape view using simulator?
Under the Hardware Menu you will find the rotation items which correspond to CMD+Left and CMD+Right
In the Hardware menu, there is an option to change the orientation. Also, Cmd-Left and Cmd-Right will rotate the virtual phone.
Setting simulator orientation in IDE
The above (hardware->device) is a solution for rotating the simulator only once the simulator is launched ,but there should be also an option in your IDE to define the orientation of the simulator.
If you are using JDeveloper IDE the go to
Application --> Deploy --> New Deployment Profile --> select Profile Type(iOS) --> iOS Options --> Device Orientations.
IDE Device orientations.
There you can mention which orientation you need by default, either landscape or portrait.
Short cut key for switching Orientations
Press command key and press left arrow / right arrow.
This would switch between the landscape and portrait views you require.
I hope this might help your query.
[enter image description here][1]
I was struggling with this exact problem for about an hour.
On the left-most project navigator screen, click the name of your project (should be the highest dropdown button), then click the general tab on the page that opens up, scroll down and you should see a section titled "Deployment Info" Make sure you select the checkbox of each orientation you want available for your project.
Test your simulation again.
[1]: https://i.stack.imgur.com/4nW9D.png