Yes, this way it works.
I use it to detect if something goes wrong and disable the ads.
I catch anything and in the case I disable the ads
I received no more report in last 5 days, I hope I have resolved
For anyone interested my approch is the following (I hope I can help someone):
boolean bError = false;
try {
WebViewDatabase webViewDB = WebViewDatabase.getInstance( this );
if (webViewDB == null)
bError = true;
WebView oww = new WebView( this );
oww.clearCache( true );
} catch( Throwable anyhing ) {
bError = true;
}
try {
if (!bError) {
// ... do my stuff for the ads from admob
}
} catch( Throwable anyhing ) {
bError = true;