public void onClick(View arg0) {
Intent i = new Intent(getApplicationContext(),
PlacesMapActivity.class,AddItemizedOverlay.class);
// Sending user current geo location
i.putExtra("user_latitude", Double.toString(gps.getLatitude()));
i.putExtra("user_longitude", Double.toString(gps.getLongitude()));
// passing near places to map activity
i.putExtra("near_places", nearPlaces);
// staring activity
startActivity(i);
}
我想将意图发送到 PlacesMapActivity.class 和 AddItemizedOverlay.class,我该怎么做?
谢谢。