cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon MacDonald <simon.macdon...@gmail.com>
Subject Re: Android - Webview Method on WebViewCoreThread Warning
Date Thu, 11 Jul 2013 14:28:10 GMT
This is the Android App plugin in Cordova core. Andreas, can you open an
issue on JIRA so this can be tracked/fixed.


Simon Mac Donald
http://hi.im/simonmacdonald


On Thu, Jul 11, 2013 at 8:34 AM, Andrew Grieve <agrieve@chromium.org> wrote:

> Are you doing this from a plugin? If so, you should use
> cordova.getActivity().runOnUiThread()
>
>
> On Thu, Jul 11, 2013 at 4:31 AM, Andreas Sander
> <andreas.sander@hotmail.de>wrote:
>
> > Hi together,
> >
> > I've found out that Android is caching some HTTP-Responses, so I'm using
> > navigator.app.clearCache(); to trigger the clearing procedure manually.
> >
> > But in logcat I get the following Warning:
> >
> > java.lang.Throwable: Warning:
> > A WebView method was called on thread 'WebViewCoreThread'.
> > All WebView methods must be called on the UI thread. Future versions of
> > WebView may not support use on other threads.
> >
> > I use Cordova 2.7.3.
> >
> > Can you help me to fix this thread compatibility problem?
> >
> > I can see that android.webkit.WebViewCoreThread.run is used. I guess
> > that's the problem.
> >
> > Any help is appreciated!
> >
> > With best regards,
> >
> > Andreas
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message