Making it work on 1.5 and earlier is not actually so simple, because of the way the Dalvik class loader works on those versions. The approach the library uses a lot for being able to call newer functions (having the calls in a separate class that is only used if running on the appropriate version) breaks prior to 1.6 because Dalvik will fail loading the app's dex file if it has any such references.
Honestly I don't think messing with 1.5 or earlier is at all worth the time. On Sun, Jun 5, 2011 at 8:37 AM, Peli <[email protected]> wrote: > I've modified the "Android Compatibility support v4, revision > 2" ( http://developer.android.com/sdk/compatibility-library.html ) > slightly so that it can be used on Android 1.5 or Android 1.1 as well. > The only modification so far was to support Build.VERSION.SDK_INT on > versions earlier than 1.6. > > The aim is not to port back all functionality, but at least not to let > an existing application crash in Android 1.1 or Android 1.5 if one > wants to use Fragments or other Honeycomb features. > > This is work in progress, and we have not released a jar file yet. So > far it is only available via SVN as an Android Library Project that > can be included in any other project: > > http://code.google.com/p/openintents/source/browse/#svn%2Ftrunk%2Fcompatibility%2FAndroidSupportV2 > > Feel free to use this in your projects, but beware that most of the > functions may actually not yet be compatible with Android 1.1 or > Android 1.5 (we only fixed what we needed so far). Feedback and > patches are welcome, to make this even more useful. > > Peli > www.openintents.org > > -- > 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

