You can call Activity.Finish to close the current activity and return to the previous one or home screen.
You can show the home screen with this code:
Dim i As Intent
i.Initialize(i.ACTION_MAIN, "")
i.AddCategory("android.intent.category.HOME")
i.Flags = 0x10000000
StartActivity(i)