This is what I am using to open the browser with the given URI
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com/"));
startActivity(browserIntent);
Is there a way I can open the browser with previous visited page. Or say just open the Browser, so that last viewed page is shown.
Purpose:
In application user is asked to submit a URL, So instead of typing, it has an option Open Browser so that he/she can copy the URL, come back and submit it. There is a good probability that the last URL is what he/she wants to submit
EDIT:
I can get the last visited page from the browser history using
<uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS" />
but while installing the application, it says:
This application will read your browser history
which on seeing, no one installs.
Any way to change the Browser settings like, switch on Continue where I left ??