Below is my code.
I had gone through some links but not found the solution.I want to know whether user has completed the ACTION_VIEW or not or simply pressed the back button.
Intent intent = new Intent(Intent.ACTION_VIEW,Uri.parse("url"));
mContext.startActivity(intent);