Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8546401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T13:00:39+00:00 2026-06-11T13:00:39+00:00

I have images that want to interactive in android, please help me how I

  • 0

I have images that want to interactive in android, please help me how I can make interactive image in android, I’m new user on this site, may be site is not allow me to post image.

My scenario is, I have 10 chairs around table, and I want user interactive with chair (Click able) and goes to other screen. I’m new to android. Please explain how I can create interactive images for my apps.

Here is an image that helps you understand my scenario:

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T13:00:41+00:00Added an answer on June 11, 2026 at 1:00 pm

    Just set OnTouchListener to your image view with onTouchEvent method like this one:

    @Override
    public boolean onTouchEvent(MotionEvent event) {
    if (event.getAction() == MotionEvent.ACTION_DOWN) {
        x = event.getX() + this.getLeft();
        y = event.getY() + this.getTop();
       // check if (x,y) is on chair and do other staff
    }
    return super.onTouchEvent(event);
    }
    

    (x,y) is a point on picture which was clicked. Save ranges of picture’s point which are on chairs. Than just check on which one you’ve clicked and do appropriate staff.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a Rails 3 application. I have images that can be tied to
I have three images that I want the user to move around the screen.
I have 3 images that I want to add one after other on a
I have three images that I want to cycle through when clicking on a
I have 5 images that I am appending to a div that I want
I have some text/images that I only want to display in the normal state
I have about 12-15 images that I want to align together in a grid,
I have multiple images that have the same class attribute and I want to
I have a number of draggable images that I want to clone and then
I want to round up all images that have a specific attribute and place.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.