scsjc Well-Known Member Licensed User Longtime User Aug 31, 2018 #1 it is possible to kill activity (in background) before loading activity with startactivity (xxxxx), to prevent it from being launched from activity_resume ? Last edited: Aug 31, 2018
it is possible to kill activity (in background) before loading activity with startactivity (xxxxx), to prevent it from being launched from activity_resume ?
R ronell Well-Known Member Licensed User Longtime User Aug 31, 2018 #2 like this? B4X: activity.finish startactivity(menu) yes it will work Upvote 0
scsjc Well-Known Member Licensed User Longtime User Aug 31, 2018 #3 ronell said: like this? B4X: activity.finish startactivity(menu) yes it will work Click to expand... I want a kill a another activity (in background) and launch ... Upvote 0
ronell said: like this? B4X: activity.finish startactivity(menu) yes it will work Click to expand... I want a kill a another activity (in background) and launch ...
Erel B4X founder Staff member Licensed User Longtime User Sep 2, 2018 #4 Call Activity.Finish in Activity_Pause event to destroy the activity. Upvote 0
scsjc Well-Known Member Licensed User Longtime User Sep 2, 2018 #5 Erel said: Call Activity.Finish in Activity_Pause event to destroy the activity. Click to expand... Yes.. I do it, but some times can't use. some times need kill before launch from another activity Upvote 0
Erel said: Call Activity.Finish in Activity_Pause event to destroy the activity. Click to expand... Yes.. I do it, but some times can't use. some times need kill before launch from another activity
Erel B4X founder Staff member Licensed User Longtime User Sep 2, 2018 #6 If you add it to Activity_Pause then the activity will never be kept in the background. Upvote 0