I am developing window phone 8.1 WinJS application. I set the style 'width:450px;border:1px solid' to body to check it fit the screen. Whey I test it on Nokia Lumia 635 it does not show right side border only Window phone emulator 1080p 6 inch shows it fully. Any body knows where is the problem
Effective pixel resolution for 4.5 inch device for windows phone 8.1 RT is 384x640. You should read this for screen sizes in windows 8.1 RT apps
Related
I want to update my Windows Phone 8 app to a Windows Phone 8.1, however I can't seem to find much information regarding tile sizes and images.
I found this:
https://msdn.microsoft.com/en-us/library/windows/apps/hh846296.aspx
Which is for Windows Store and guides to this:
https://msdn.microsoft.com/en-us/library/windows/apps/hh846296.aspx
Which only applies to Windows Phone 8 and Windows Phone Silverlight 8.1 | Windows Phone OS 7.1.
Anyone knows which tile sizes are required for Windows Phone 8.1? To be specific I'm talking the images used in the Package.appxmanifest file.
Thank you in advance.
These three sizes are available for Windows Phone 8.1, which you can provide in the app's manifest file :
1) Small (71x71)
2) Medium (150x150)
3) Wide (310x150)
Images must have dimensions less than or equal to 1024x1024 pixels, have a file size of less than or equal to 200 KB, and be of type .png, .jpg, .jpeg, or .gif.
A tile is always pinned to the Start screen as a medium tile, though the user can then resize it.
There is also a Tiny (44x44) image available, but this not a tile and it is used only as a logo in search results and the Apps list.
Here are the proper sizes of Windows Phone 8.1 tiles.
small: 159 x 159 pixels
medium: 336 x 336 pixels
wide: 691 x 336 pixels
I use them in all my apps.
However, when you create a new Windows Phone 8.1 RT project, then you can check sizes of default images. They are a little bit bigger.
small: 170 x 170 pixels
medium: 360 x 360 pixels
wide: 744 x 360 pixels
Using bigger images may be even better for high-resolution screens.
I have a problem with text scale in my Windows Phone 8.1 app. When I run app on device my labels is bigger than should be and not fits to screen (cutting ends). I had no such problems in the past with Windows Phone 8.0 apps. Anyone can help me?
Although late reply, you can use IsTextScaleFactorEnabled="False" property to override effect of ease of access setting.
On some new Windows Phone devices, the navigation bar (with 3 buttons: back, home, search) will be contained on screen, instead 3 hardware buttons at the bottom of the device (old version).
How can I detect a device using software or hardware navigation bar (C#)?
I'm afraid it's still not in the API Reference for Windows Phone 8, and even it has not been updated for Windows Phone 8.1 too since the release.
Windows Phone 8.1 API
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.
I install visual studio 2013, but I can't run app on emulator with 1080p resolution.
Available only this emulators
<ScreenResolutions>
<ScreenResolution Name="ID_RESOLUTION_WVGA" />
<ScreenResolution Name="ID_RESOLUTION_HD720P" />
<ScreenResolution Name="ID_RESOLUTION_WXGA" />
</ScreenResolutions>
How I can test my app for device with 1080p resolution?
Emulator images for 1080p or GDR3 phones are not yet available, but they should be soon!
Anyway from your point of view the 1080p device has same scale factor as 720p devices, so if your app supports 720p devices, it should work just fine on 1080p devices as well.
In case you want to detect such devices or provide specific content, here's a nice article how to do it:
Resolution specific considerations
Or here similar article on MSDN:
Multi-resolution apps for Windows Phone 8
Not yet, the support will be out soon.
But since 1080p is using the same aspect ration as 720p, you can "fake it" and pretend that 720p is actually 1080p and test in that environment. Besides, you won't really notice the difference anyway.
It's available now, you can now run your WindowsPhone8 app in 1080p resolution emulator, Microsoft just released an update for it, read the Windows Phone Developer Blog