Android devices do support multitouch in a native enviroment, but they do
not fire multitouch javacript events.  Unfortunatly, this means no multi
touch for OpenLayers.  If you are dead set on having multitouch in your
application, what you will need to do is program a native app with a
webview, and maintain the multitouch events from within the native
application.  This requires knowledge of Java, the Android SDK, and how to
communicate between a java and javascript enviornment in Android.

Best of luck!

-Adam

On Fri, Oct 21, 2011 at 11:46 AM, Dominik Mikiewicz
<[email protected]>wrote:

> Android 2.1 on galaxy s does support pinch zoom. So does android 3.x on
> xoom.
> Perhaps multi touch does depend on a combination of a browser and android
> version.
>
> Dominik
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Richard
> Greenwood
> Sent: Friday, October 21, 2011 3:50 PM
> To: [email protected]
> Cc: OpenLayers mailinglijst
> Subject: Re: [OpenLayers-Users] Zoom out on Android
>
> On Fri, Oct 21, 2011 at 7:01 AM, Peter Peterse <
> [email protected]>
> wrote:
> > Hello,
> >
> > I have a question about example:
> > http://openlayers.org/dev/examples/mobile.html
> > How can I zoom out on an Android phone without using the [-] button?
> > Zooming in with double tab works.
> > Unfortunately it doesn't work as nice as on a iPhone. Or am I doing
> > something wrong?
> >
> > Thanks for your reply.
> >
> > Regards
> > Peter
>
>
> I don't think you're missing anything. Christopher Schmidt addressed this
> questions ~6 months ago saying something to the effect of Android not
> propagating multi-touch events (pinch, etc.) up to the JavaScript layer. So
> OL can not support pinch to zoom in or out on Android browsers.
>
> Rich
>
> --
> Richard Greenwood
> [email protected]
> www.greenwoodmap.com
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to