Here's one for Android.  Shouldn't be too difficult to adapt for iOS and/or
Desktop.

https://github.com/SamYStudiO/flair-physical-density-ane

On Thu, Dec 8, 2016 at 2:05 AM, After24 <[email protected]> wrote:

> Hello,
>
> I'm working on a project for which I need to get the exact screen density
> of
> the device but Capabilities.screenDPI doesn't seems to return a precise
> value. For example, the constructor specifications of my phone give 401 PPI
> but Capabilities.screenDPI returns 480 PPI.
>
> Does anyone knows if there is an ANE that provides a reliable screen
> density
> value ?
>
> Thank you.
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 2333346.n4.nabble.com/Getting-the-exact-screen-density-on-
> AIR-mobile-tp14312.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Reply via email to