I have a Windows Phone App for WP 8.1 (Not Windows Phone Silverlight) and I've specified all splash screen sizes in the package manifest. However, for 720p phones (like the Lumia 720) I'm getting letterboxing of the splash screen.
I've also tried adding the Windows Phone Silverlight splash screens from the documented spec, but I get the following error in the build:
MakePRI : warning 0xdef00520: Invalid qualifier: SCREEN-720P
And then I still don't get a full screen splash screen.
Is there any way to prevent this letterboxing?
I believe the only way to solve this is by making the borders of your splash screen of uniform color fill, and set that color as background color in the Package.appxmanifest, so the letterboxing is not seen.
Thing is, Windows Phone 8 and 8.1 devices come in on of four resolutions: 480x800, 720x768, 720x1768 and 1920x1080. From these you can see there are two ratios, 15:9 and 16:9. And the splash screen images you set in the manifest, are all 15:9, just for various screen densities of the 15:9 ratio. So, no way to avoid the letterboxing, as the OS obviously "fits" the splash image into the screen.
Related
I'm creating a Xamarin.Forms app which will work in landscape mode.
I want the WinPhone8 splash screen in Landscape only.
However, the splash image is shown in Portrait at first, and then rotated to landscape when the SupportedOrientations is set.
How do I get the splash screen in landscape?
I think landscape splash screens aren't supported on Windows Phone.
If it's a universal app you could try the method below, but I'm not sure if it only works on Windows Store apps.
Open up your app's manifest file and see if there is something like this in there;
<InitialRotationPreference>
<Rotation Preference="landscape"/>
<Rotation Preference="landscapeFlipped"/>
</InitialRotationPreference>
If not, add it :)
This tells your app to tell the OS that it wants to be in landscape initially.
I am facing strange issue in Splash screen of windows phone 8.1 store app.
Scale Image size (pixels)
1x - 480 x 800
1.4x - 672 x 1120
2.4x - 152 x 1920
Thses standard sizes I have given. Although Image does not look proper in 4.7 inch 720P devices.
Any help is appreciated.
I don't think theres much you can do to improve this (except like #neoproudek suggested using ExtendedSplashScreens)
But depending on your senario, you may only have to change the Splash Screen Background Color to a color that accommodates the Splash screen image color. Thus if you have a single color background splash screen image, such as the Windows Phone Music app with an Empty Splash Screen Background Color it will look like this:
But changing the Splash Screen Background Color to #107C0F like so:
Quick note: Splash Screen Background Color does not have an alpha component
The end result is a good looking Splash screen:
Hope this helps!
You can (only) do it with just images (through appxmanifest) if you prepare the splash screen so, that the top and bottom parts are in uniform colored fill, which you can seamlessly extend to the top and bottom of the screen by setting the Splash Screen Background color in Package.appxmanifest.
The screen resolution of the nexus 5 is 1920X1080, and Libgdx says it is 1794X1080. I'm using it in landscape mode, and libgdx is getting the height correct, but it reduces the width. I guess that is because is not counting the pixels of the navigation bar.
Is there any solution to make libgdx to detect the width including the navigation bar?
If you just want to get real display resolution you should check this question. But I think you may want to run your application in real fullscreen mode. That's it, without navigation bar. Just set useImmersiveMode to true in your AndroidApplicationConfiguration.
You can Read about Android immersive mode here: http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/backends/android/AndroidApplicationConfiguration.html#useImmersiveMode
I've developed and submitted a WP 8 app. it's a cocos2Dx game.
I can test it on my device (WVGA) but the simulators (ex: WXGA) don't work on my PC.
I only checked "WVGA" in the WMAppManifest.xml as I can't test the other resolutions
so in the store, it is written : "App requires WVGA (480x800)"
question : is the app available and does it work (with a kind of auto scale) on devices with other resolutions ? (ex: WXGA)
It depends on what you selected in WMAppManifest.xml. At the bottom of the application settings you will find supported resolutions. Tick all three and your app will automatically work on all supported resolutions.
WVGA and WXGA share the same aspect ratio of 15:9, but 720p is slightly taller and uses aspect ration of 16:9.
Read more on Multi-resolution apps for Windows Phone 8.
In documentation stated that it is enough to keep the only WXGA splashscreen file and it will be scaled by windows Phone OS automatically.
To display a splash screen for all resolutions, use a single image
file named SplashScreenImage.jpg that is 768 × 1280. The phone
automatically scales the image to the correct size.
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206974(v=vs.105).aspx#BKMK_Splashscreens
But when I'm using the only file no scaling occurs. I still could see black line on the top of the phone during app start.
Sample here:
https://dl.dropboxusercontent.com/u/19503836/SplashSample.zip
Thanks for any suggestions
You'll notice that it says "scale" and not stretch - which is exactly what's happening. Windows Phone 8 supports 3 resolutions (so far)...
480x800 (15:9)
720x1280 (16:9)
768x1280 (15:9)
You'll notice that the aspect ratio of #1 and #3 are the same, but #2 is different - and that's the problem.
For an image to fit all resolutions it would have to be stretched, which would look very bad so Windows Phone 8 doesn't do that. Instead, it scales the image to fit the screen but a black/white bar appears at the top of screen for #2.
The only way to avoid the black/white bar at the top of the screen is to create 3 separate splash screen and specify them in the WP8 manifest file.
Note: Making your app work and look correct at multiple resolutions is what every app developer should do. All the major platforms (iOS, Android, Windows 8, etc) support multiple screen sizes and/or resolutions so creating multiple icons sizes, splash screen sizes, background images, and other assets is part of the jobs.
I don't think a "splashscreen.jpg" is a good choice in wp8 any longer, even the templates of sdk doesn't have one.
The reason is if the firts page of your app is massive and your have a splashScreen, you may find your screen blink when starting.
So I would add a blank page and set it as the first page. Also you can add your "Splashscreen" Image here.