I am launching a web browser from my activity. At some state I again launch my activity with a url. But this time I don't want to see the browser again by pressing back. When the browser launches my activity I want it to look like nothing happened before to it.
Look at adding a flag when you launch the web intent.
This is probably what you are looking for...
http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_NO_HISTORY
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.