0

When I try to using "Robert Foss" answer to get zoom functionality: How can I get zoom functionality for images?

I copy TouchImageView.java / WrapMotionEvent.java / EclairMotionEvent.java

but I get errors with the code shown below

import se.robertfoss.ChanImageBrowser.Viewer;

and

if (Viewer.isDebug == true){

Do you know what the problem is? I cannot understand how to work these codes.

Community
  • 1
  • 1
  • You are missing his Viewer class (or an equivalent one of your own). – tvanfosson Jan 08 '12 at 14:35
  • You mean add Viewer class code to "TouchImageView.java"? any suggest Friend. – wingwing Jan 08 '12 at 14:45
  • I using "Hello android by Ed Burnette"code, work very well, but can't limit pan & zoom [link](http://stackoverflow.com/questions/5881778/zooming-and-dragging-images-using-matrix-in-android) and i using "Mike Ortiz" code [link](http://stackoverflow.com/questions/2537238/how-can-i-get-zoom-functionality-for-images/7458910#7458910), can limit pan & zoom well too, but pan & zoom Effect not very fast , so i want to Learn more code, when i try "Robert Foss" code, i don't Understand – wingwing Jan 08 '12 at 15:59
  • I think i found all code below : [4chan-image-browser](http://code.google.com/p/4chan-image-browser/source/browse/src/?r=79d4bafc424764c9d545b2f7a02c8fdce077d26e#src%2Fse%2Frobertfoss) more difficulties, i will using other i can Understand code...THX – wingwing Jan 08 '12 at 16:39

0 Answers0