Disable pinch/zoom in Android 2.1 browser on HTC devices Disable pinch/zoom in Android 2.1 browser on HTC devices android android

Disable pinch/zoom in Android 2.1 browser on HTC devices


I have contacted HTC about this issue and they have informed me that they don't have support for the viewport meta tag at all and there is no other way to disable zoom.

Quite disappointing.


This works on the default android and iPhone browsers. Although sadly it doesn't work for HTC's custom browser (as asked).

<meta content='True' name='HandheldFriendly' /><meta content='width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;' name='viewport' /><meta name="viewport" content="width=device-width" />


Just an idea, maybe not useful (not tested) :
Did you look into javascript support in Android's WebView? I think you might be able to call WebSettings.setBuiltInZoomControls(false); which might do what you need.