I have a Phonegap packaged application that opens a PDF Viewer when a button is pressed. I did it with the FileOpener2 plugin.
When I go back to the application from
In android.webkit.WebViewClient onLoadResource callback invoke stopLoading of WebView
MyWebViewClient extend WebViewClient { public void onLoadResource (WebView view, String url) { if(your condition ){ view.stopLoading(); } } }