Launching MapActivity from another activity
- by DixieFlatline
Hello!
I have 1 activity and 1 class that extends MapActivity(Lokacija). I added MapActivity to manifest, this line and my build configuration is set to Google API.
I want to launch the mapactivity with the press of a button as usually:
final Intent i = new Intent();
intent.setClass(getApplicationContext(), Lokacija.class);
startactivity(i);ode here
When i click on a button, I get android runtime exception (no activity found to handle intent).
I has to be something with class extending MapActivity, but i don't know what.
Any suggestions?