I am using webview and saving all the pages to cache.
webContainer.getSettings().setAppCacheEnabled( true );
// loading offline
if ( !isNetworkAvailable() )
{
webContainer.getSettings().setCacheMode( WebSettings.LOAD_CACHE_ELSE_NETWORK );
}
There is a case where page is not visited previously and network is not available, in that case it shows page not found error. I want to replace it with error.html
page. Is there any way to check if the specific page is cached or not.