Added basic support for Android 2.2