Android Google Maps v2 - Add object to marker
How can we add an object to a marker in the new Google Maps Android API v2 ? So if we click on the InfoWindow , we can do something with the object? public void addSpotOnMap(Spot spot) { getMap().addMarker(new MarkerOptions() .position(new LatLng(spot.getParseGeoPoint().getLatitude(), spot.getParseGeoPoint().getLongitude())) .title(spot.getName()) .snippet(spot.getCategory()) .draggable(false)); } This sets the location, title and snippet for the object. But I want to be able to go to another activity about this specific Spot-object if I click on the InfoWindow Not really sure if this is the