I am confused by Android documentation about this questions so I will ask them here: I have HTC Desire mobile on this link I see that it has pixels 480×800 and Density 252
- When I try to get Density like this getResources().getDisplayMetrics().densityDpi I get value 240 and not 252.
- I have image with size 400x113 with Density 240(Pixels/Inch) And when I try to get size in program with getWidth and getHeight it said 600 and 170.
- What size my image need to be for this phone HTC Desire and which Density it need to have.
Thanks.