I have an app in which I have a WebView where I display some websites. It works, clicking a link in the webpage goes to the next page in the website inside my a
WebView
use this code to go back on page and when last page came then go out of activity
@Override public void onBackPressed() { super.onBackPressed(); Intent intent=new Intent(LiveImage.this,DashBoard.class); startActivity(intent); }