how to make pinch zoom on canvas without webviewer or html is it possible ?
--
There is no pinch event handler on a Canvas. You could use a Touched or a TouchedDown or a TouchedUp or a Flung or a Dragged with some logic to replace the background image with a zoomed in or zoomed out version using IF then Else logic perhaps.
You can also zoom + or - the actual Canvas H and W.
--
i did a html image view it works and i try to add swipe between images but it doesn't work .these are the blocks can you check what wrong please
and this error shown "The operation - cannot accept the arguments: , [(file:///mnt/sdcard/AppInventor/assets/003.gif file:///mnt/sdcard/AppInventor/assets/004.gif)],"
--
the imageindex should be a number and not a filenname
remember you only can add or subtract numeric values, but no texts...
btw, how should that work in the webviewer? if you only display an image, then how can you receive some kind of event (for example swipe left or right)?
my label example https://puravidaapps.com/label.php uses HTML/jQuery and the Hammer.js library, which is able to detect touch gestures ...
--
댓글 없음:
댓글 쓰기