click on a mapview marker to open a certain actvity-android development
<p>Here's my prob,what i would like to do is to click on a gmap marker and that should take me to another activity.
as long as i know i should use the method onTap but i don't really getting how i should do it.
here's my code:</p>

<pre><code> protected boolean onTap(int index) {
            SAXParserActivity saxParser = new SAXParserActivity ();
            Bundle bundle = new Bundle();
            bundle.putDouble("Latitude",saxParser.gp[index].getLatitudeE6()/1E6);
            bundle.putDouble("Longitude", saxParser.gp[index].getLongitudeE6()/1E6);
            bundle.putDouble("CurrentLatitude",33.8761673);
            bundle.putDouble("CurrentLongitude",35.54236984);
            Intent intent = new Intent(mContext, ListItemsMapRouteActivity.class);
            intent.putExtras(bundle);
            ((MapActivity)mContext).startActivityForResult(intent, 0);
            return true;
            }
</code></pre>

<p>well the saxParser is suppose to get me all the gaz_stations  around me,which will let me take the lon and lat, and i want these to be sent to ListItemsMapRoutActivity when clicking on a marker ...
plz i would appreciate any help,i'm kinda stuck here.
thank you !</p>
