After reading the code, I think that zoom pinch is not implemented in
browser of AOSP. Please correct me if I'm wrong.

The place to implement it would probably be:
frameworks/base/core/java/android/webkit$ mousepad WebView.java

This would be a good tutorial:
http://www.zdnet.com/blog/burnette/how-to-use-multi-touch-in-android-2-part-6-implementing-the-pinch-zoom-gesture/1847?tag=mantle_skin;content

So is there any patch floating around?

Grégoire


On Oct 10, 7:36 pm, G2 <grego...@gentil.com> wrote:
> Hello,
>
> I have multitouch working on my device with Froyo. The gallery
> application works well and I can move the photos around with two
> fingers. Kind of crazy UI BTW!
>
> I would like to do zoom-in/zoom-out in the browser but it doesn't seem
> to work. I have never managed to zoom-in / zoom-out by stretching two
> fingers.
>
> I have also tried the Maps application but I don't see the source
> code. Zoom-out has never worked and pinching seems to work but after
> something like ten tries. I'm wondering if the system doesn't detect a
> double tap (one tap per finger at my n-th try).
>
> Are two-finger pinch and stretch really implemented in AOSP Froyo
> Browser? If yes, where is the code? In Browser java, jni, or webkit?
> Perhaps the MT events sent by my driver are not fully compliant though
> I read the code and I think that it's correct. Is there a way to test
> pinch? Is there another application with source code that does pinch?
> If no, is there a patch somewhere for Browser?
>
> Thanks in advance,
>
> Grégoire

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to