I am using DisplayMetrics to get device density but it is not returning the exact value for device density i.e if density is 149 it returns 160. I need this density to find my device actual size in inches. My straight question is to find the exact value i.e 149 not 160.
Please help me out.
Thanks