I’m just starting to learn Android development and writing my first app. I started with V2.2 but up until now mostly wrote generic Java code. Now that I started to write Android specific code I saw that a new version was out.
After installing it, eclipse IDE lets me choose between v2.1 and v4.0. non of the others are available.
So should I jump to 4.0 or stay with 2.1 to have the app compatible with a greater number of older handhelds? I’m not planning on using any new technology / functionality that 4.0 might be offering.
Each new version of the API introduces new functionalities but remains compatible with earlier versions.
To keep your app compatible with the greater number of devices, use the lowest API level which it requires.