I am writing an android application that has a webview. On the first load it works fine, I am able to browse and drill down to pages. My expected behavior is that if I leave the application and come back, it should redirect to the page that I have it set to call in the webView.loadUrl(“[page i set here]”) but it seems to load the page that I was last on when I last used it.
How can I kill the app in the onStop() method? Or, am I supposed to do something else in order for it to restart the application on every load.
Thanks in advance!
you will ensure the end of your app with
so the next time your webview will load the specified page in your code again