supportZoom & getBuiltInZoomControls values will be set/unset in WebSettings by the App which uses the Webview for ex: Browser app in your case.FEATURE_TOUCH_SCREEN_MULTITOUCH is for enabling/disabling the multitouch for the over all system.Check if it satisfies all the above conditions in your environment.Check updateMultiTouchSupport function in the ZoomManager.java of the frameworks/base/core/java/android/webkit.Hi Wetson,Enabling/Disabling of the built in zoom control logic is part of Browser app.
However enabling & disabling the multitouch logic presents in the WebKit Java layer.
mSupportMultiTouch = (pm.hasSystemFeature(PackageManager.FEATURE_TOUCHSCREEN_MULTITOUCH) || pm.hasSystemFeature(PackageManager.FEATURE_FAKETOUCH_MULTITOUCH_DISTINCT)) && settings.supportZoom() && settings.getBuiltInZoomControls();
I suggest you add logs in the above updateMultiTouchSupport to check what is going wrong.Regards,
kamal
On Wed, Jan 8, 2014 at 11:35 AM, rishi gupta <gup...@gmail.com> wrote:Did you analyzed handlers for these multi touch events.On Mon, Jan 6, 2014 at 10:59 PM, Weston Weems <wwe...@gmail.com> wrote:
I've turned a lot of tracing on throughout my code and so far have found this...Browser checks for multitouch or fake multitouch.distinct, and that returns true... so I dont get the zoom icons.I enabled tracing on input events to the browser and am seeing multiple touch points come in (touch point count = 2), but it just seems like its nto even trying to do pinch zoom etc.Any ideas?
On Friday, January 3, 2014 2:40:52 PM UTC-8, Weston Weems wrote:Gentleman,I've successfully ported android a number of times as well as ran through a number of iterations of android on the same sets of hardware but I've got something thats puzzling me.Moving one of my bits of hardware from 4.1 to 4.3, I've noticed that multi-touch in the browser doesnt work (even after copying android.hardware.touchscreen.multitouch.xml to the appropriate place).In testing with a multi-touch testing application and getevent, I do see multi-touch working, but the browser app / web views just ignore the functionality.If anyone has any clues, they would be greatly appreciated!--You received this message because you are subscribed to a topic in the Google Groups "android-porting" group.
--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting
---
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-porting/PIkC8ov0cOA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-porti...@googlegroups.com.--
--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting
---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porti...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
mSupportMultiTouch = (pm.hasSystemFeature(PackageManager.FEATURE_TOUCHSCREEN_MULTITOUCH) || pm.hasSystemFeature(PackageManager.FEATURE_FAKETOUCH_MULTITOUCH_DISTINCT)) && settings.supportZoom() && settings.getBuiltInZoomControls();
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porti...@googlegroups.com.