android touch position on Image

Mark Barr

New member
May 25, 2014
1
0
0
Guys

new to this so here goes

the app im developing displays a large bitmap using sub sampling

It is displayed in a imageview. the s3 im using has a resolution of 800 x 1280 but the image is 6000 x 4000

i pan and zoom around until I find the area i want and then tap on the area to report the position i tapped

problem is it reports the position on the screen and not the position on the bitmap

ie if i pan to the bottom right of the image it reports the position as 800,1280 where it should be 6000,4000

any idea how i get the position on the image?

any help appreciated

mark
 

Latest posts

Trending Posts

Forum statistics

Threads
956,265
Messages
6,967,277
Members
3,163,498
Latest member
BLIND AL SO-CAL