How to get the resolution of screen (width and height) in Windows Phone 8.1?
问题 I am developing an app for Windows Phone 8.1 and my app just can work properly if I can get the resolution of mobile screen. I tried many ways but they just work on Windows Phone 8.0 and lower. I tried these ways from: How to get screen size on Windows Phone 7 Series? How can I get a screen resolution of Device (Windows Phone) How to get Screen size of a windows phone 8 device? How to get screen resolutions on Windows Phone devices If someone knows how to do it on Windows Phone 8.1 , please