Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Test new Google Maps API v2
Java
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
gen/com
res
src/com/example/testgooglemaps
.gitattributes
.gitignore
AndroidManifest.xml
README.md
ic_launcher-web.png
proguard-project.txt
project.properties

README.md

TestGoogleMaps

ACTION BAR SHERLOCK + GOOGLE MAPS API V2

I'm trying to integrate ActionBarSherlock with the new Google Maps API v2 but I'm having a problem.

I have a layout with 2 fragments: one for a list layout and another with a SupportMapFragment.

When I click on a list item first go well but when I click on a list item second time, it throws an error: "Duplicate id 0x7f040038, tag null, or parent id 0x0 with another fragment for com.google.android.gms.maps.SupportMapFragment"

I tried several solutions and none of them have been able to fix it. Is there something I'm doing wrong?

Please help me!!

I modified ActionBarSherlock to include SherlockMapFragment implemented to support the new SupportMap (as shown here: https://gist.github.com/4392030).

This is an image of my test project:

Something went wrong with that request. Please try again.