On Tue, Feb 10, 2009 at 7:13 AM, jgostylo <jgost...@gmail.com> wrote:

>
> 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);


This works for me just fine.  I want to launch the browser on a URL that's
associated with where they tapped:

container.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(uri)));

Works fine.  So the problem must be with finding your activity.  -T

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to