0

I need to add a picture over a touched position in an image or directly on camera preview.

How could get the touch coordinates and set the image in the touched area?

And If I want to move the added images?

What is the right way to code this stuff? Is there some sample or tutorial?

AndreaF
  • 11,975
  • 27
  • 102
  • 168

1 Answers1

0

event.getX() and event.getY() should give you the coordinates.

Here is a more detailed answer on getting the coordinates. Get the co-ordinates of a touch event on Android

Community
  • 1
  • 1
Ben Roby G
  • 118
  • 9