I'm noticing a trend here.  We too are experiencing issues with
WebViews on the HTC Incredible.

We're having problems with the content being strangely zoomed in when
it loads up.  We're also experiencing a strange behaviour where when
the user scrolls the view a gray or black square grows from the top of
the view downwards as you scroll.  When you reach the bottom of the
view it completely fills the view.

Also, sometimes our app will crash when the user clicks on links for
the view.

I think this is starting to show that there's definitely something
wrong with WebViews on the HTC Incredible as we also don't detect this
behaviour on an unmodified Android Dev Phone 2, or the Nexus One.

Robert Hawkey

On May 3, 8: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 at
http://groups.google.com/group/android-developers?hl=en

Reply via email to