How to show a Dialog when a Marker is clicked from Google Maps

view full story

http://stackoverflow.com – I am trying to show a custom dialog box from the Google Maps through the Google Maps Android API v2 once a custom marker from the map was clicked. The custom marker will show the current traffic condition in the location where it was placed. The custom Dialog contains the name of the place, the current northbound and southbound traffic condition of the road, some advisory if available (like, road is under construction, etc.), and the time when the traffic was updated. All these data came from an XML file and was stored in the sqlite database. My problem now is, when I click on any of the marke (HowTos)