I am developing an application for Windows Phone 8.1, and my application may work fine if I can get a screen resolution for mobile devices. I tried many ways, but they just work on Windows Phone 8.0and below. I tried these ways:
Windows Phone 8.1
Windows Phone 8.0
How to get screen size in Windows Phone 7 Series?
How to get screen resolution for a device (Windows Phone)
How to get the screen size of a Windows Phone 8 device?
How to get screen resolutions on Windows Phone devices
If anyone knows how to do this Windows Phone 8.1, please help me!
If someone can help me, I have a small question, I use Visual Studio RC2it when I choose application development for Windows phoneit automatically selects the OS version 8.1, if I want to develop an application for the OS version 8.0, how to change these settings? Edit: I solved the second question.
Visual Studio RC2
Windows phone
8.1
8.0
Use Window.Current.Bounds to get the position and size of the available space that your application can use on the screen.
Window.Current.Bounds
Source: https://habr.com/ru/post/1547912/More articles:Magento redirects after login - redirectЗапуск приложения для Android создает java.lang.NoClassDefFoundError: retrofit.RestAdapter $Builder - javaLiferay clustering - cluster-computingC ++ inline function and contextual optimization - c ++caret package does not use all registered kernels using nnet method for training - r. The first does not throw an exception in an empty collection - c #How to get screen resolution on Windows Phone devices - windows-phoneWhat are the differences between Yocto Poky and Texas Instruments Arago? - cross-compilingDoes the same VBO use for two objects in order? - c ++Design MVVM for Android - androidAll Articles