1
I’m doing some tests with an image on Android using the Canvas class. I’m using a Samsung Galaxy Mini S3 and a Samsung Galaxy S2.
Physically the appliances are different (the screen of the S2 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 (height) is 800px and the width (width) 480px (in Portrait). Since S2 is bigger, I thought the values would not be equal.
Is there any standardization for the display size of smartphones? Will most is that standard, 800 by 480 (or at least will most use this ratio)?