Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Making specific parts of an image into clickable buttons for android app

(I am an extreme newbie, my knowledge is of basic programming ideas, i.e. a click executes a command, basic cause and effect)

I am wanting to test out a simple idea of having an image (for example sake imagine one page of "Where's Waldo!?") where you open the app and you have an image, (also this is aimed at android tablets) and this image has many details and lots of different focal points going on, so i want the end-user to be able to look through this image and see, (again for example sake) waldo, and then to be able to click on waldo and a text bubble to pop up with "you win! " or some info about waldo, or any other details on the page.

so far all i have been able to do is make the entire image one button, which is undesirable seeing as i would prefer there to be about 20-30 randomly placed buttons each with their own synopsis of the section of the image being clicked on.

using android app inventor...

like image 693
jake Avatar asked Feb 23 '23 04:02

jake


1 Answers

A site explaining how to make specific parts of an image into clickable areas can be found here...it worked for me..

The link is also summarized at this SO question.

like image 137
Praveen Avatar answered Apr 06 '23 15:04

Praveen