I am wondering if I am going about this problem the correct way. I am making an app that places overlays on top of google maps. When you click on the overlay it should launch a dialog type window that will give you options on what to do with that overlay.
Currently the method I am trying to use is to Override onTap(): Intent myIntent = new Intent(context, MyActivity.class); myIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(myIntent); The context is the MapActivity that contains the MapView. It is passed to the Overlay with the constructor. It is the line startActivity where the app throws an exception (ActivityNotFoundException). I did the setFlags because an error message said it was needed because I was trying to start the Activity while outside an Activity. That makes me think I am going about this wrong. I have 'MyActivity' listed in my manifest so I don't think that is the issue. I have searched for this problem on the internet and I can't seem to find anyone else running into this so that is another reason I think I may be trying to do this the wrong way. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

