How to determine screen resolution on Windows Phone 8

This is a very common scenario most developers stumble across – they are building an app for Windows Phone and have to target all 3 screen resolutions available with Windows Phone 8. The 3 screen resolutions for your reference are: WVGA – 480×800 or 800×480 (15:9 ratio) WXGA – 768×1280 or 1280×768 (15:9 ratio) 720p…

1