Alright so I have an app that runs all in one activity. I'm trying to add some Maps functionality so I've created a new class and extended the MapsActivity. I created a map.xml file that uses the mapview and has my apikey and all that in there.
What I need to be able to do is start up the map activity from the first one and then plot some points on the map. I tried setting a new intent using the second activity.class and then saying startActivity(intent) and I'm getting an error somewhere between those two lines.
How can I call a second activity from my first one?
Then beyond that, how can I pass in a lat/long to plot a point on the map? After doing some research it looks like you're not supposed to talk directly from one activity to another, so I'm not sure how to accomplish this.





