According to 1 the code posted there can be used for Android API 12 or later. I tried the code on an emulator having API level 10 (Google API platform 2.3.3) and I get the f
instead of using com.google.android.gms.maps.MapFragment use com.google.android.gms.maps.SupportMapFragment and for the Activity it will have to switched to be FragmentActivity as mentioned in the comment below