Basically, yes, if you use something from 2.1 you can be sure it will be in 4.0. There are occasionally deprecated methods, and APIs (for example, the old contacts provider, or a number of older utility classes for things like security, etc..), but in general things are only being added, not dropped.
kris On Mon, Jan 23, 2012 at 5:35 AM, Paolo <[email protected]> wrote: > Thanks Kris, but the answer I'm looking for is not referred to the > Android distribution problem, but rather to a technical one. > > I want to understand if there is best practice for choosing the SDK to > use. I should use alway the latest version of the sdk, and so it is my > responsibility to provide a mechanism of backward compatibility? Or > instead... is better using the min version supported as target? In > this case If I use v2.1 as target I can be sure that all the APIs are > always supported in v4.0? > > I hope to be clear :) > > On 23 Gen, 11:18, Kristopher Micinski <[email protected]> wrote: >> Choose the target corresponding to 2.1, there is also a nice little >> pie chart showing you how many people have what: >> >> http://developer.android.com/resources/dashboard/platform-versions.html >> >> kris >> >> >> >> >> >> >> >> On Mon, Jan 23, 2012 at 5:12 AM, Paolo <[email protected]> wrote: >> > Hi there, >> >> > I'd like to understand if there is a best practice when I have to >> > choose the SDK Target for a Android project. >> >> > For example: I have to develop an app that must be supported on >> > Android OS version from v2.1 to v4.0 (included). >> > Which target should I choose? >> >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "Android Developers" group. >> > To post to this group, send email to [email protected] >> > To unsubscribe from this group, send email to >> > [email protected] >> > For more options, visit this group at >> >http://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

