Hi Keith.

Hmmh, yes, that's how I do it too. I include my actual code below that is
expressed differently, but the important part seems to be the same.

You can reproduce the issue every time? Maybe then it is just a coincidence
that it doesn't happen anymore to my users?! Or there is something else at
play?!

Cheers,
Mariano

        Method setBuiltInZoomControlsMethod = null;
        try {
            setBuiltInZoomControlsMethod =
webSettings.getClass().getMethod("setBuiltInZoomControls",
                    new Class[] { boolean.class });
        } catch (SecurityException e) {
        } catch (NoSuchMethodException e) {
        }

        if (setBuiltInZoomControlsMethod != null) {
            try {
                setBuiltInZoomControlsMethod.invoke(webSettings, new
Object[] { getEntryManager()
                        .areHoveringZoomControlsEnabled() });
            } catch (IllegalArgumentException e) {
            } catch (IllegalAccessException e) {
            } catch (InvocationTargetException e) {
            }
        } else {
            FrameLayout zoomControlContainer = (FrameLayout)
findViewById(R.id.browse_zoom);
            zoomControlContainer.addView(webView.getZoomControls());
            webView.getZoomControls().setVisibility(View.GONE);
        }

Hi Mariano,
>
>   Thanks for getting back to me!  I tried disabling zoom controls in
> my listview's webviews via:
>
> webView.getSettings().setBuiltInZoomControls(false);
>
> However I am still getting the issue.  Is there another way to
> disable?  Any help is much appreciated.
>
> Keith
>
> On Mon, Jun 14, 2010 at 1:47 PM, Mariano Kamp <[email protected]>
> wrote:
> > Hey Keith,
> > I think it would be best to keep the discussion public, so that other may
> > chip in / learn from it. If you agree, please cc: android-dev in your
> > response.
> > Anyway, no, unfortunately not really. This seems only to happen on the
> > Incredible. What I am 99% sure of is that this is related to the hw
> > accelerated zoom controls (a user found out through testing). In NewsRob
> I
> > meanwhile disable them for the Incredible. No issues since then.
> > Do you use WebView's built-in zoom controls at all?
> > Cheers,
> > Mariano
> >
> > On Mon, Jun 14, 2010 at 7:40 PM, KeithWrightbos <
> [email protected]>
> > wrote:
> >>
> >> Hi Mariano,
> >>
> >>   I created an android app that is also experiencing a SIGSEV for
> >> users only on the HTC Incredible.  I was wondering if you happened to
> >> find the cause of the issue you saw?  Mine occurs in an activity that
> >> has a list view whose cells consist of a remotely loaded image, some
> >> text, and a webview.  I believe the webview is causing the issue but
> >> have yet to look into it too deeply.  Below is the stack I'm getting.
> >>
> >> Thank you,
> >>   Keith
> >>
> >> Build fingerprint: 'verizon/inc/inc/inc:2.1-update1/ERE27/161494:user/
> >> release-keys'
> >> pid: 592, tid: 593 >>> com.jnj.mocospace.android <<<
> >> signal 11 (SIGSEGV), fault addr 2f736f33
> >>  r0 2f736f33 r1 ffffffff r2 2f736f33 r3 00000000
> >>  r4 006f9f28 r5 2f736f2f r6 00000000 r7 4184bf5c
> >>  r8 100ffc60 r9 4184bf54 10 100ffd88 fp 4184bf54
> >>  ip ac13e62c sp 100ffc30 lr ac04a9b8 pc afb04524 cpsr 20000010
> >>         #00 pc 00004524 /system/lib/libcutils.so
> >>         #01 pc 0004a9b4 /system/lib/libskia.so
> >>         #02 pc 0004aa60 /system/lib/libskia.so
>

-- 
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