Android SDKs, screensizes and resolutions: comparable hardware
Trying to get an overview of the possible combinations of Android SDKs and screensizes and resolutions, *and* what physical devices are comparable, I came to the below overview. If you know some more comparable hardware, please let me know, I'll update the tables.
The first table shows the different screensizes defined as per Supporting Multiple Screens | Android Developers, mapped on real existing devices.
Id | Screensize, resolution, physical | Comparable hardware |
---|---|---|
A |
|
|
B |
|
|
C |
|
|
D |
|
|
E |
|
|
F |
|
|
The table below shows which SDK supports the above screensizes.
SDK | Screensize Id |
---|---|
1.5 |
|
1.6 |
|
2.0 |
|
2.0.1 |
|
2.1 |
|
Remarks:
- The total nr of possible sdk+screensize combinations is 19!
- Android has organized the screensizes and resolutions into three generalized sizes and three generalized densities, see here.
- To support all these resolutions, you don't have to create icons/images for all possible combinations. By default Android tries to scale resources. Up to a certain limit it could be acceptable to let it do it for you, minimizing the number of images to create.
- An example setting is minSdkVersion = 3, targetSdkVersion = 4 (where 3 = 1.5, 4 = 1.6). Targeting 1.6 ensures that different screensizes can be supported if the device has 1.6 or higher.
- Cool skins you can find here. If you look at the configuration files, you can validate whether the screensize and resolutions are actually what you expect.
- Sources: Droid, Nexus One, Hero, Xperia X10.
No comments:
Post a Comment