Hi there,
I created a little test app with B4A 10.7.
When I start it, I get an activity with a button. When I press it, I go to the second activity:
When I press "back" there, I go back to the first one:
So far, so good - that's what I want.
When I press the home button in the second activity, I get to the home screen. Now I restart the app and I get to the first activity. I press the button and get to the second activity.
When I now press the "back" button or the system back key, I don't get back to the first activity, but I am on the home screen! That's not what I expect.
What happens here?
I created a little test app with B4A 10.7.
When I start it, I get an activity with a button. When I press it, I go to the second activity:
Activity 1:
Sub Button1_Click
StartActivity("Activ2")
End Sub
Activity 2:
Sub btBack_Click
Activity.Finish
End Sub
When I press the home button in the second activity, I get to the home screen. Now I restart the app and I get to the first activity. I press the button and get to the second activity.
When I now press the "back" button or the system back key, I don't get back to the first activity, but I am on the home screen! That's not what I expect.
What happens here?