I started trying to add fragments to my Android app, which is based on 2.1, using the Android Compatibility Package that just came out on March 3rd. I included the library into
You have only to change your Android Target to API Level = 12
For people trying to make this work with Google Maps SDK see getFragmentManager with API8 and remember to update your layout file too!
You will need to extend FragmentActivity
instead of the normal Activity
. Then you will be able to call getSupportFragmentManager()
which works the same way as getFragmentManager()
.