MrKim Well-Known Member Licensed User Longtime User Sep 14, 2017 #1 Is it possible to start an Activity and use Wait For to wait for the Activity to close?
Erel B4X founder Staff member Licensed User Longtime User Sep 14, 2017 #2 It is possible, however it might be risky. The user can click on the home button while the second activity is in the foregound. At some point the OS will kill the process. When the user returns to the app it will start from the second activity and the call to Wait For in the old process will be discarded. It is safer to use CallSubDelayed and call a sub in the first activity. Upvote 0
It is possible, however it might be risky. The user can click on the home button while the second activity is in the foregound. At some point the OS will kill the process. When the user returns to the app it will start from the second activity and the call to Wait For in the old process will be discarded. It is safer to use CallSubDelayed and call a sub in the first activity.