In Android, there is an onBackPressed()
code which will navigate back. Is there any way to go forward, like in the browser?
There is no front. It's a stack- for you to have returned to a previous activity, finish must have been called on the previous one. That activity is done, it no longer exists.