I'm doing tests with an image on Android using the Canvas class. I am using a Samsung Galaxy S3 Mini and a Samsung Galaxy S2.
Physically the devices are different (the S2 screen is larger), but the returns of the methods below are the same:
Display display = getWindowManager().getDefaultDisplay();
Point size = new Point();
display.getSize(size);
width = size.x;
height = size.y;
For both devices, the height is 800px and the width is 480px (in portrait). Since S2 is larger, I thought the values would not be the same.
Is there any standardization for the display size of smartphones? Is most of this pattern, 800 by 480 (or at least will most use this ratio)?