Android Question callsubdelayed2 how to close activity

tsteward

Well-Known Member
Licensed User
Longtime User
I have my main activity "main" which opens activity2 "Vehicle" pressing a button on activity 2 calls callsubdelay2 to open activity3 "Feedback" when complete it uses callsubdelay2 to return to Vehicle and process and save the data collected in Feedback.
Whilst in vehicle I save the data etc but if I press back it goes back to feedback instead of main.

How do I prevent feedback being opened this way?
 

udg

Expert
Licensed User
Longtime User
I'm sure you already know it: B4xPages solve any problem due to an app's lifecycle.
My suggestion is to search for it and take some time to adapt your app to it. Everything will be easier and smoother.
 
Upvote 0
Top