I am using using ionic frame work.. How can i redirect to a particular page when clicking Android device Back button .. that is , There should make comparison of current page, and depending upon this comparison .. our back page is determining.. how it is possible???
You can override the onBackPressed()
method of Activity
@Override
public void onBackPressed()
{
super.onBackPressed(); // optional depending on your needs
// code here to do whatever you want when back is pressed
}