There is no generic "multitouch," you interpret MotionEvents and perform the zoom yourself. Looks like they made this easier in 2.2 w/ ScaleGestureDetector, which at a glance looks to be the same as the class in Gallery2. You can read that code to see how its implemented.
On May 20, 6:54 pm, Mariano Kamp <[email protected]> wrote: > Hi. > > In Android 2.1 update 1 multitouch was silently added. Unfortunately > it is only available when also the zoom picker is **active**?! I am > sure there are cases where that setting makes sense, but it was not > possible to separately turn on one or the other. > I thought they didn't want to change the API with with an "update-1" > and would now surface the API in Android 2.2. > At least my initial check didn't turn up anything in that respect though ;-(. > > Also I don't know if multi-touch pinch/zoom still works in Android > 2.2, because I don't know how to test it on the emulator. Does anybody > know or has other insights to share? > > On a sidebar. Do I see this right? The developers get the new Android > version before their users? Loving it! Thanks. > > Cheers, > Mariano > > Btw. OT, but the first 45 minutes of the keynote totally rocked. Much > better than the latest three Steve Notes combined. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

