D doraneko Member Licensed User Longtime User Apr 11, 2011 #1 when another module was called from sub method in main module and return again by another module's activity.finish, where the next step begins ? 1) next line of sub method in main module 2) Sub Activity_Create in main module 3) other in main module Please teach me.:sign0085:
when another module was called from sub method in main module and return again by another module's activity.finish, where the next step begins ? 1) next line of sub method in main module 2) Sub Activity_Create in main module 3) other in main module Please teach me.:sign0085:
Erel B4X founder Staff member Licensed User Longtime User Apr 11, 2011 #2 You are asking about activities I assume. Calling StartActivity sends a message to the messages queue. The next activity doesn't start immediately. Your current code finishes, current activity pause event is raised and then the next activity is started. When the second activity finishes the first activity resume event is raised. If the first activity was destroyed then it will be first created. Upvote 0
You are asking about activities I assume. Calling StartActivity sends a message to the messages queue. The next activity doesn't start immediately. Your current code finishes, current activity pause event is raised and then the next activity is started. When the second activity finishes the first activity resume event is raised. If the first activity was destroyed then it will be first created.
D doraneko Member Licensed User Longtime User Apr 11, 2011 #3 Thank you, Erel. I understood about activity_create, resume, pause and modules. Upvote 0