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

