[android-developers] Re: How to implement the iphone style multitouch zoomIn zoomOut to a polygon on a GLSurfaceView?

2011-10-07 Thread saex
thanks Studio, i finally did it using this guide: http://www.zdnet.com/blog/burnette/how-to-use-multi-touch-in-android-2-part-6-implementing-the-pinch-zoom-gesture/1847 On 6 oct, 16:37, Studio LFP wrote: > There is nothing in that example that says you have to be using a canvas. > > Any view th

[android-developers] Re: How to implement the iphone style multitouch zoomIn zoomOut to a polygon on a GLSurfaceView?

2011-10-06 Thread Studio LFP
There is nothing in that example that says you have to be using a canvas. Any view that is a child of View will work. GLSurfaceView is a child of view and will work also. Override the onTouchEvent of the GLSurfaceView and follow the example in that respect. The scaling is just a number that go

[android-developers] Re: How to implement the iphone style multitouch zoomIn zoomOut to a polygon on a GLSurfaceView?

2011-10-06 Thread Doug
I agree the easier way is to never use punctuation or explanation *lols* On Oct 5, 8:05 am, crissgoodlookingguy wrote: > There's an easier way use Adobe AIR. *Simples* -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group,

[android-developers] Re: How to implement the iphone style multitouch zoomIn zoomOut to a polygon on a GLSurfaceView?

2011-10-06 Thread saex
thanks, but i have to implement by myself, without using external libraries On 5 oct, 17:05, crissgoodlookingguy wrote: > There's an easier way use Adobe AIR. *Simples* > > On Oct 4, 4:42 pm, saex wrote: > > > > > > > > > i have an application that shows a simple square polygon represented > > o

[android-developers] Re: How to implement the iphone style multitouch zoomIn zoomOut to a polygon on a GLSurfaceView?

2011-10-05 Thread crissgoodlookingguy
There's an easier way use Adobe AIR. *Simples* On Oct 4, 4:42 pm, saex wrote: > i have an application that shows a simple square polygon represented > on a GLSurfaceView. Actually i can do zoomIn and zoomOut with two > buttons. > > But now i want to implemente the iphone multitouch style zoomIn

[android-developers] Re: How to implement the iphone style multitouch zoomIn zoomOut to a polygon on a GLSurfaceView?

2011-10-05 Thread saex
i'm not using canvas, and these strange scale factors, i can't apply these system into my code On 5 oct, 16:43, Studio LFP wrote: > Not quite understanding the hard part, it's pretty step by step. > > GLSurfaceView is just another view and can accept touch just like anything > else. You don't hav

[android-developers] Re: How to implement the iphone style multitouch zoomIn zoomOut to a polygon on a GLSurfaceView?

2011-10-05 Thread Studio LFP
Not quite understanding the hard part, it's pretty step by step. GLSurfaceView is just another view and can accept touch just like anything else. You don't have to make a new subclass like he did, just use the touch code to catch the multi-touch on the GLSurfaceView. Steven Studio LFP http://ww

Re: [android-developers] Re: How to implement the iphone style multitouch zoomIn zoomOut to a polygon on a GLSurfaceView?

2011-10-05 Thread Kostya Vasilyev
Pretty easy, actually: Step 1: Download an Apple iOS 5 system image. Step 2: Install the iOS image on your Android phone. Step 3: Refer to Apple's documentation on multitouch zoom. Done! -- Kostya 05.10.2011 16:01, saex пишет: too hardly explained and bad examples for this case code exampl

[android-developers] Re: How to implement the iphone style multitouch zoomIn zoomOut to a polygon on a GLSurfaceView?

2011-10-05 Thread saex
too hardly explained and bad examples for this case code examples that does this will be apreciated On 4 oct, 17:54, Studio LFP wrote: > Check this post out: > > http://android-developers.blogspot.com/2010/06/making-sense-of-multit... > > Information from the source, the best kind. > > Steven >

[android-developers] Re: How to implement the iphone style multitouch zoomIn zoomOut to a polygon on a GLSurfaceView?

2011-10-04 Thread Studio LFP
Check this post out: http://android-developers.blogspot.com/2010/06/making-sense-of-multitouch.html Information from the source, the best kind. Steven Studio LFP http://www.studio-lfp.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. T