I think there's a little option on the page to filter by api level in
the kind of upper right

On Sat, Apr 30, 2011 at 6:38 PM, Stefan at WPF
<[email protected]> wrote:
> Hello,
> when browsing the Android SDK documentation, e.g.
> http://developer.android.com/reference/android/preference/PreferenceActivity.html,
> then this documentation is for the latest Android version (Android 3.0 r1 at
> the time of writing this).
>
> As I am developing for Android 2.2 it is very confusing for me to read the
> Android 3.0 documentation, e.g. it claims for addPreferencesFromResource(int
> preferencesResId):
>
> This method is deprecated. This function is not relevant for a modern
> fragment-based PreferenceActivity.
>
> Well, for Android 3.0 it might be, but seen from Android 2.2 it is probably
> not. So where can I find a documentation written from an Android 2.2
> perspective / the documentation written at the time of Android 2.2? On e.g.
> MSDN you can easily switch between the different documentation versions for
> e.g. .NET 3.5 and .NET 4.0, how about the Android documentation?
>
> Please note, that using the API Level Filter is not enough, even with API
> Level 1 (the lowest API Level where nothing can be deprecated) it claims
> that addPreferencesFromResource(int preferencesResId) is deprecated - the
> filter acts in a too simple way, just filtering out APIs with newer API
> Levels than the one specified for filtering.
>
> Thank you very much :-)
>
> --
> 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

Reply via email to