How to get actual (physical) screen resolution?

Is there any way to retreive the actual (physical) screen resolution of the current device? No matter what I try, the simulator always returns an incorrect resolution which is smaller than the resolution of the selected hardware device.

I’d need to be able if the app is running on a low res or high res Android device (1080p or better).

https://docs.coronalabs.com/api/library/display/index.html

if i am not mistaken, display.pixelWidth and display.pixelHeight should work.

Works -thanks a lot! :slight_smile:

https://docs.coronalabs.com/api/library/display/index.html

if i am not mistaken, display.pixelWidth and display.pixelHeight should work.

Works -thanks a lot! :slight_smile: