Yes, DPI values are hard coded for ios but it's not a real issue since
Capabilities.screenDPI returns the correct values.
For Android, thought, the returned value is dynamic and seems to be
accurate (at least on the 6 android devices I tested)
But unless you want to make accurate on screen measures,
Capabilities.screenDPI should be sufficient.
Cheers.
Le 05/03/2017 à 22:55, bilbosax a écrit :
Just found this on Distriqt's Application ANE site.
"The iOS screen density is determined from a lookup and is not provided by
the API."
So, the OS is not tell the ANE what it's DPI is, the ANE is looking it up
from a table. This may be more accurate immediately, but I don't think it
would be any good unless the ANE and your app on the App Store/Google Play
were updated at least every 3-6 months. I don't know about this approach.
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/Screen-DPI-ANE-tp14761p14771.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.