I am using WebView to display url inside the application.When I click the back button in device, it terminates and close the application. For eg: i am giving link as
w.loadUrl("http://www.google.com");
In that i am searching and it goes to next page inside the webview.But when i click back
button key, it closes the application and not proceeding back to the history what I searched.
How to resolve this.? Any stuff to be given in this, If so, What should be given?
@Override
public void onBackPressed() { }
Thanks in Advance.