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,我该怎么做?
感谢。
答案 0 :(得分:0)
构建两个单独的Intent并发送它们。