[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-20 Thread Rud
I'm doing a quick and dirty zoom using the following: if (mIsZoomed) { canvas.translate(-mCenter.x * (mZoomScale - 1), 20); canvas.scale(mZoomScale, mZoomScale); } It shifts my image with the translate and zooms in with the scale. I set mIsZoomed by:

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-17 Thread Piwaï
Hi there! I had to write a duplicate of the image viewer last week. And I couldn't find the Image View source code. For those wondering why I didn't use the intents, it's just because my images are dynamically loaded from the web... Since I did it for my company, I can't publish the source

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-17 Thread Desu Vinod Kumar
HI Thanks for ur response it amy be helpful for me On Fri, Jul 17, 2009 at 12:33 PM, Piwaï py.ri...@gmail.com wrote: Hi there! I had to write a duplicate of the image viewer last week. And I couldn't find the Image View source code. For those wondering why I didn't use the intents,

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-15 Thread Desu Vinod Kumar
HI U told that will send the code in a short hours i didn't get the code for zooming . On Tue, Jul 14, 2009 at 5:09 PM, hanged_man majd...@gmail.com wrote: you can use the default image viewer using intents (you dont have to implement your own), i don't remember exactly how it is done

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-15 Thread Sujay Krishna Suresh
desu, plz make use of the zoomcontrols widget available... it will make things easier for u... On Wed, Jul 15, 2009 at 5:12 PM, hanged_man majd...@gmail.com wrote: Hi Desu, i thought you were trying to implement your own image viewer and implementing your own Zoom in out buttons, therefore i

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-15 Thread Desu Vinod Kumar
HI Thanks for ur response like in Iphone Multi touch zooming events are not available in android actually i got he specification like that nly i want to this by touch the image only ... what about this circle Zoom in android? On Wed, Jul 15, 2009 at 5:12 PM, hanged_man majd...@gmail.com

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-15 Thread Desu Vinod Kumar
HI i want to use it by touch events not by key events for Zoomcontrol widget is it possibe ... can u tell me where will get the tutorials or examples regarding this? On Wed, Jul 15, 2009 at 5:17 PM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: desu, plz make use of the zoomcontrols

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-15 Thread Sujay Krishna Suresh
It is very simple, i would recommend u to read the documentation the try exploring ur self... the zoom controls widget actually displays 2 button like images one for zoom in 1 for zoom out. it is similar to the one used by maps app... or the image viewer app... On Wed, Jul 15, 2009 at 5:22 PM,

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-15 Thread Desu Vinod Kumar
Hi thanks for response that i already done by using buttons zoom in and zoom out exactly what i need it like circle zoom in android or multitouchphoto event like that i need. u got my point regarding this On Wed, Jul 15, 2009 at 5:28 PM, Sujay Krishna Suresh sujay.coold...@gmail.com

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-15 Thread Desu Vinod Kumar
HI u have Source code for ImageViewer app if u have that can u plz attach that i am not getting it. On Wed, Jul 15, 2009 at 5:28 PM, Sujay Krishna Suresh sujay.coold...@gmail.com wrote: It is very simple, i would recommend u to read the documentation the try exploring ur self... the zoom

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-14 Thread hanged_man
you can use the default image viewer using intents (you dont have to implement your own), i don't remember exactly how it is done but ill send you the code in a few hours. On Jul 14, 8:37 am, Desu Vinod Kumar vinny.s...@gmail.com wrote: Hi One More thing I need to Specify I need to

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-14 Thread Desu Vinod Kumar
Hi Thanks for giving response .. if u send the code it will be very helpful for me On Tue, Jul 14, 2009 at 5:09 PM, hanged_man majd...@gmail.com wrote: you can use the default image viewer using intents (you dont have to implement your own), i don't remember exactly how it is done but

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-14 Thread hanged_man
Intent intent = new Intent(); intent.setAction(android.content.Intent.ACTION_VIEW); //imageFilePath is a path to a file located on the sd card such /sdcard/temp.jpg intent.setDataAndType(Uri.fromFile(new File(imageFilePath)), image/*);

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-14 Thread Desu Vinod Kumar
HI I am not getting this .. how the image vl zoom in and zoom out here.. On 7/15/09, hanged_man majd...@gmail.com wrote: Intent intent = new Intent(); intent.setAction(android.content.Intent.ACTION_VIEW); //imageFilePath is a path to a file located on the sd card

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-14 Thread Sujay Krishna Suresh
desu, u shd get d zoom controls on tap... if u want ur own zoom in zoom out jus make use of the bitmap functions for scaling. On Wed, Jul 15, 2009 at 11:12 AM, Desu Vinod Kumar vinny.s...@gmail.comwrote: HI I am not getting this .. how the image vl zoom in and zoom out here.. On

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-14 Thread Desu Vinod Kumar
HI Sujay Krishna Suresh Thanks for ur response. I need to zooming by using the touch not by using keys if it touch the image it need zoom in out the image is there any tutorials or examples regarding this... plz help i need it urgently i done this by using key events

[android-developers] Re: Is Zoom in And Zoom out is Possible for Image View In android............

2009-07-13 Thread Desu Vinod Kumar
Hi One More thing I need to Specify I need to zoom in and Zoom out with Touch ... not with key events On Tue, Jul 14, 2009 at 10:50 AM, android.vinny vinny.s...@gmail.comwrote: Hi Is Zooming is possible to do in android for Image view . I have a images in full screen view, i