Re: [android-developers] how to get a onClick() event from a marker int map?
> hi all,i want to add a marker to a position int the map ,so i add a image
> through canvas by overwrite overlay .But i want to get the other activity
> through clicking the image,who can tell me what can i do ? thanks!
Use ItemizedOverlay, and override the onTap() method. See:
http://github.com/commonsguy/cw-android/tree/master/Maps/NooYawk/
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home