0

Is it possible to replicate the MAP element of HTML ( http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_areamap ) in android. If so how ? I plan to put the touch event on the image and get the co ordinates of the place where the click happened. But I feel this is not a proper solution if the image is something like this

http://www.channel4.com/media/images/Channel4/c4-news/2014/March/27/27_solar_system_r_w.jpg

then it would be a problem for me.

Sagar Devanga
  • 2,815
  • 27
  • 30
  • Please replace the URL with an actual image URL. Right-click on the image and copy image URL. – Tobias May 20 '15 at 13:18
  • What are you trying to do exactly? Are you trying to do this with a webview/html in your app or achieve the same result with java code? – javawocky May 20 '15 at 13:23
  • @ruffles : I m trying to create an app with the image as the background of my imageview and when i click on any of the planets i plan to display information about that planet? All this will be done in android. Is it possible – Sagar Devanga May 20 '15 at 13:51

1 Answers1

0

The question asked here is pretty much what you want, assuming your not trying to do it with html / webviews, and has a simple and straightforward answer that works.

Community
  • 1
  • 1
javawocky
  • 899
  • 2
  • 9
  • 31
  • yup i know about the solution u suggested but this would be a problem if my image is complex like the one in question . I m trying to create an app with the image as the background of my imageview and when i click on any of the planets i plan to display information about that planet? All this will be done in android. Is it possible – Sagar Devanga May 20 '15 at 13:53