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.
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.
I have a working implementation for 2.1+
WebView solution caused problems for me on 4.0.x (lot's of weird white spaces appearing)
https://github.com/jasonpolites/gesture-imageview
Might be useful for someone...
A recent post on the Android Developers Blog includes an example that does exactly what you ask. Unfortunately, it relies upon ScaleGestureDetecter which makes its first appearance in Froyo.
Have you tried using the intent "android.intent.action.VIEW" and letting the phone's built in image viewer display your image? It will probably use multi-touch controls if the phone supports it.
http://developer.android.com/reference/android/content/Intent.html#ACTION_VIEW
Regarding gesture-imageview lib:
https://github.com/jasonpolites/gesture-imageview
it's in fact useful, but unfortunatelly it has some bugs, like:
https://github.com/jasonpolites/gesture-imageview/issues/37
Anyway, good lib to try. It solved my usecase.
Related
I am starting to develop android applications using AS3.
As much as I've searched I did not find how to make android loading box using AIR!
It seems there is no way to do so!
Can anybody help me in this regard please?!
I kindly beg you to search more and more. Your topic is a rare and helpful one I also appreciate that but I think you just need to increase your Googling Abilities :D
I guess I know what you were searching for so I just searched about your topic and the result is exactly what you need I am sure.
You know,, you can not access android device-specific libraries and features with AS3 for these are not available in the built-in AS3 classes. There are some air extensions provided to help us the air developers who want to make Android or iOS apps though.
Am I clear enough? if not go to this link please. Here you can learn more and even use some extensions in your projects if necessary: http://www.adobe.com/devnet/air/native-extensions-for-air.html
And a happy link for you and your topic:
http://www.myappsnippet.com/loading-dialog-air-extension
Just tell me if this is what you wanted. I'll be happy!
This is fairly standard and has been covered here a few times. Like this for example.
as3 loading screen
or this ROC tutorial
as3 preloader
U basically calculate the current percentage in a progress event and change a bar's width or scale accordingly.
I really like some effects in iPad. Especial flipboard, but I am an android developer at the moment, so I want to build an app which has the same effect. But I cannot find any source code about it on the Internet. On youtube I found a video I really like. Can someone help me?
Hey… Here is a quick guide for getting the clipboard effect on your Android phone. Just go through this tutorial for getting it. Hope it will be helpful to you.
http://openaphid.github.com/blog/2012/07/27/how-to-handle-touch-events-for-flip-animation/ there u go, but it is on opengl, and i'm not sure if it supports complex views as ListView. If you want to make one from the scratch i also recommend you this link. It is on Flex, but the principle is similar. http://oreilly.com/pub/a/javascript/archive/flashhacks.html?page=1
Is this possible? If it isn't I'll be implementing another chart library this weekend, I haven't been able to get it going yet, but just want to check before wasting 10+ hours!
Thanks!
Found out through pain that the only version of Highcharts which supports point touch in Android is 1.26, so use that if you need this functionality, seems to work fine
For certain picture oriented apps I need to display big pictures and scrollable areas with further detail, once zoomed in.
In saw discussions and examples in iOS using CATiledLayer, which seems to do the job there.
Is there a CATiledLayer "port" or something similar for Android?
This library seems to be very good:
https://github.com/moagrius/TileView
I see you've started your own, but you may wish to check out OSMDroid, which is a full-featured library that supports existing online map tile systems, as well as locally-cached tiles and a rich overlay API. It even supports mini-maps.
Hi All
I am working on an android app where i need to implement an image zooming functionality(zoom will work by moving fingers apart and bringing them together will zoom out the image).This is just like the way iphone does.
Could anyone please let me know is this possible?,Does Android provide any inbuilt support in SDK for doing this?.Is there any kind of tutorial for doing this?.
Android default browser supports pinch zoom?
ya pinch zoom is possible in android but after 2.2 version,and also many hardware doesn't support this feature.
but if you want to implement you can take look here..
http://www.zdnet.com/blog/burnette/how-to-use-multi-touch-in-android-2-part-6-implementing-the-pinch-zoom-gesture/1847
i think it will help you.