Does anyone know any formula or any way to find the PPI of an android phone display?
Thank you in advance!
Does anyone know any formula or any way to find the PPI of an android phone display?
Thank you in advance!
I think this was answerd a coupple fn times here. Check the DisplayMetrics class.
DisplayMetrics metrics = getResources().getDisplayMetrics();