Hi David, I'm having this exact same problem too. My suspicion was that it was related to UI customisation HTC did with the Incredible, so I emailed HTC Tech Support a couple of nights ago, to find out, and they suggested phoning the HTC Head Office in the UK (because Tech Support can't give out that information). I've pretty much given up at this point because I don't have the time to spend hours on the phone explaining what the problem is to a dozen different people.
If anyone has been able to file a bug report or contact any HTC software devs, please let us all know about it. :-) My only solution for now has been to detect the phone model: if it's the Incredible (Build.MODEL = "ADR6300") disable built-in zooming, and manually attach the zoom buttons. The downside is that this means Incredible owners can't use pinch-zoom, which may or may not be acceptable for your app. I'll send more specific implementation details if you need it. Regards, Tom On Thu, May 20, 2010 at 9:03 PM, David at TRC <[email protected]> wrote: > We are getting exactly the same problem. I am anxious to see if anyone > has found a fix for this. > > David > > On May 17, 12:19 pm, Achanta <[email protected]> wrote: >> Even I have a very similar issue with all the webviews in our app. >> None of the webviews display properly . >> *They initially zoom in on loading and does not let me zoom out. I >> cannot even scroll vertically or horizontally. >> *When I click on a link it always selects another link that is way >> below the one that I currently select. >> >> I am also using the built in zoom controls. >> The name of our app is iTriage if anyone with an incrediblw want to >> test it. It works fine on all the other phones. >> This issue is also causing the new users to leave bad ratings and is >> damaging our app ratings. >> >> This is the snippet of code that I am using in my app. >> mWebView = (WebView) findViewById(R.id.web_view); >> mWebView.getSettings().setJavaScriptEnabled(true); >> mWebView.setWebViewClient(new MyWebViewClient()); >> mWebView.loadUrl(url); >> mWebView.getSettings().setBuiltInZoomControls(true); >> >> Please let me know what might be causing this issue or how I might be >> able to fix this. >> >> Thank you. >> >> On May 3, 9:21 pm, Felix <[email protected]> wrote: >> >> >> >> > I use aWebViewto display JPGs to users. TheWebViewallows me to >> > easily add zooming functionality without having to write the code to >> > actually do it. >> >> > Anyway, I've been getting a lot of Bug reports from users with an >> > HTCIncrediblethat the zooming is broken. I bought an HTCIncredible, and >> > tested and sure enough zooming causes theWebViewto be surrounded by >> > a box. It's difficult to explain, but basically panning and zooming is >> > not possible. The only way I can get theWebViewto properly display >> > the JPG is by setting setBuiltInZoomControls(false). >> >> > I ran the app on another 2.1 phone (Droid), and it works fine. Works >> > fine on my Nexus One, and even in the 2.1 Simulator. >> >> > Anyone else run into this problem? >> >> > Here's the code i have for myWebView: >> >> >webview= (WebView) >> >findViewById(R.id.webview);webview.getSettings().setLoadsImagesAutomatically(true);webview.getSettings().setJavaScriptEnabled(true);webview.getSettings().setBuiltInZoomControls(true);webview.setInitialScale(initialScale); >> >> > Then I just do: >> >> >webview.loadUrl("file://" + getFilesDir() + "/" + filename); >> >> > Thanks, >> > Felix >> >> > -- >> > 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 >> 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 -- 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

