It already has Loader, a version of CursorAdapter from HC with newer features that work better with loaders, some small helpers for using new menu features when running on HC, etc. Yes it will be a place for these kinds of helpers for dealing with different platform versions, where we have currently been writing about them in blog posts and samples in ApiDemos.
There is no plan to have something like action bar in it, though, because that has a significant UI element (with lots of resources that go with it), and some tighter bindings into 3.0 framework due to new features to things like the menu APIs that it relies on. I also want to be careful about this becoming a big dumping ground of random stuff people throw in there. You can see the result of that here: http://android.git.kernel.org/?p=platform/frameworks/ex.git;a=summary We plan on managing this more as part of the core platform (maybe even have it integrated into the platform java docs). Also if it starts to become large, that will require developers to use proguard to strip their app if they are making use of parts of it. On Thu, Mar 10, 2011 at 6:15 PM, Ed Burnette <[email protected]> wrote: > Do you think this compatibility library could be used for more than > just fragments? > > For example, action bars, touch event changes, and so on? It would be > nice to cut down on the use of reflection and version checks when new > APIs are added that you'd like to use but still want to run on older > versions of Android. > > On Mar 10, 8:14 pm, Dianne Hackborn <[email protected]> wrote: > > Note that in the current static library animations are broken. I have a > fix > > for this that will be available in a later update. > > > > > > > > On Thu, Mar 10, 2011 at 4:57 PM, davemac <[email protected]> wrote: > > > There are some subtle differences between the Fragment compatability > > > library and the native Fragment support in Android 3.0. For example, > > > the setCustomAnimations() method on FragmentTransaction can use the > > > new ObjectAnimator in Android 3.0 (see android.R.animator), but must > > > use the older anim transitions pre-3.0 (see android.R.anim). > > > > > - dave > > > > > On Mar 9, 7:54 pm, Mark Murphy <[email protected]> wrote: > > > > On Mon, Mar 7, 2011 at 5:35 PM, Neal Sanche <[email protected]> > > > wrote: > > > > > I guess I just wanted to ask if, when this compatibility library > was > > > > > developed, the design intent was to allow applications to run on > > > > > Android 1.6 -> Android 3.0 inclusive without needing to change the > > > > > code? > > > > > > Yes, that was the intent. > > > > > > -- > > > > Mark Murphy (a Commons Guy)http://commonsware.com| > > > > http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > > > > > Android Training Worldwide:http://commonsware.com/training > > > > > -- > > > 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 > > > > -- > > Dianne Hackborn > > Android framework engineer > > [email protected] > > > > Note: please don't send private questions to me, as I don't have time to > > provide private support, and so won't reply to such e-mails. All such > > questions should be posted on public forums, where I and others can see > and > > answer them. > > -- > 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 > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

