Re: Android - Webview Method on WebViewCoreThread Warning

2013-07-15 Thread Simon MacDonald
Raise an enhancement request for that bit. The default is for clearCache to include the disk files. Simon Mac Donald http://hi.im/simonmacdonald On Thu, Jul 11, 2013 at 4:46 PM, Andreas Sander wrote: > Maybe you should also allow to clear only RAM Cache by controlling the > boolean parameter o

Re: Android - Webview Method on WebViewCoreThread Warning

2013-07-11 Thread Andreas Sander
Maybe you should also allow to clear only RAM Cache by controlling the boolean parameter on native clearCache command? So navigator.app.clearCache(boolean includeDiskFiles) would match webView.clearCache(boolean includeDiskFiles). Wouldn't that be better to give more control to the user? On def

Re: Android - Webview Method on WebViewCoreThread Warning

2013-07-11 Thread Joe Bowser
Created a new thread. I know that people wanted to get rid of it for reasons of ideology, for lack of a better word. On Thu, Jul 11, 2013 at 1:36 PM, Simon MacDonald wrote: > Just checked it in for 2.9.x. Did we drop the App plugin in 3.0? If so did > we let people know it was going away or do w

Re: Android - Webview Method on WebViewCoreThread Warning

2013-07-11 Thread Simon MacDonald
Just checked it in for 2.9.x. Did we drop the App plugin in 3.0? If so did we let people know it was going away or do we count it as undocumented? Simon Mac Donald http://hi.im/simonmacdonald On Thu, Jul 11, 2013 at 4:30 PM, Joe Bowser wrote: > Fair enough. > > On Thu, Jul 11, 2013 at 12:58 P

Re: Android - Webview Method on WebViewCoreThread Warning

2013-07-11 Thread Joe Bowser
Fair enough. On Thu, Jul 11, 2013 at 12:58 PM, Simon MacDonald wrote: > It's a simple fix Joe, I'm doing it now. > > > Simon Mac Donald > http://hi.im/simonmacdonald > > > On Thu, Jul 11, 2013 at 3:55 PM, Joe Bowser wrote: > >> Can you attach the plugin to the ticket so we can incorporate the fi

Re: Android - Webview Method on WebViewCoreThread Warning

2013-07-11 Thread Andreas Sander
Simply calling the native WebView clearCache command (http://developer.android.com/reference/android/webkit/WebView.html#clearCache(boolean)) on the UI thread with cordova.getActivity().runOnUiThread() should help. That's the main essence of my plugin. Am 11.07.2013 um 21:58 schrieb Simon MacDo

Re: Android - Webview Method on WebViewCoreThread Warning

2013-07-11 Thread Simon MacDonald
It's a simple fix Joe, I'm doing it now. Simon Mac Donald http://hi.im/simonmacdonald On Thu, Jul 11, 2013 at 3:55 PM, Joe Bowser wrote: > Can you attach the plugin to the ticket so we can incorporate the fix? > > On Thu, Jul 11, 2013 at 12:35 PM, Andreas Sander > wrote: > > I've created an

Re: Android - Webview Method on WebViewCoreThread Warning

2013-07-11 Thread Joe Bowser
Can you attach the plugin to the ticket so we can incorporate the fix? On Thu, Jul 11, 2013 at 12:35 PM, Andreas Sander wrote: > I've created an issue for that: > > https://issues.apache.org/jira/browse/CB-4155 > > BTW: I've resolved the problem, by creating a plugin, to call the clearCache > co

Re: Android - Webview Method on WebViewCoreThread Warning

2013-07-11 Thread Andreas Sander
I've created an issue for that: https://issues.apache.org/jira/browse/CB-4155 BTW: I've resolved the problem, by creating a plugin, to call the clearCache command in UIThread. Am 11.07.2013 um 16:28 schrieb Simon MacDonald : > This is the Android App plugin in Cordova core. Andreas, can you op

Re: Android - Webview Method on WebViewCoreThread Warning

2013-07-11 Thread Simon MacDonald
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 wrote: > Are you doing this from a plugin? If so, you should use > cordova.getActivi

Re: Android - Webview Method on WebViewCoreThread Warning

2013-07-11 Thread Andrew Grieve
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 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 p

Android - Webview Method on WebViewCoreThread Warning

2013-07-11 Thread Andreas Sander
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