Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android multitouch image zooming?

I'm displaying an image on full screen now i want to zoom it in or out. Any one guide on how I can implement multi touch image zooming?

I am using the 2.1 sdk version.

like image 413
UMAR-MOBITSOLUTIONS Avatar asked Jun 16 '10 16:06

UMAR-MOBITSOLUTIONS


People also ask

How do you pinch zoom on Android?

Tap anywhere on the screen, except the keyboard or navigation bar. Drag 2 fingers to move around the screen. Pinch with 2 fingers to adjust zoom. To stop magnification, use your magnification shortcut again.

How do you use multitouch on Android?

Multi-touch gesture happens when more then one finger touches the screen at the same time. Android allows us to detect these gestures. Android system generates the following touch events whenever multiple fingers touches the screen at the same time. For the first pointer that touches the screen.

Does pinch and zoom change photo?

Pinch-to-zoom on all devices may use algorithms, but only to scale the image — it doesn't change the content itself. This was an attempt to prevent the jury from getting a clearer view of the action, not a genuine challenge to the integrity of the video.


1 Answers

There is the possibility to use a webview to display a local file. The Webview has integrated multitouch zooming. Have a look at my question regarding this topic.

like image 191
Janusz Avatar answered Nov 12 '22 10:11

Janusz