Check This code Regarding Image View
x= (int)event.getX();
y = (int)event.getY();

to get the x and y of the point where the user clicked or touched the image view.
but it doesnt really give me the right position.
what may be the cause?


Thanks In Advance

You failed to elaborate on the problem. How do you know that is not giving you correct coordinates? How did you check it?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.