J Jehoschua Member Licensed User May 8, 2018 #1 Good evening unfortunately, the Docs https://www.b4x.com/android/help/views.html#activity_finish for Activity.Finish is very sparse: "Closes this activity." Click to expand... Therefore my question to understand and prevent Bugs in my App: Does Activity.Finish just cleans up internal B4A resources or does it handle e.g. necessary Android tasks? (I could imagine that B4A sends a signal to Android, for example, that an action has been received and processed so that Android does not have to search for another recipient.) if there is a pendant for Activity.Finish in Android Java, then a link in those docs would be very helpful. Thanks a lot, kind regards, Thomas
Good evening unfortunately, the Docs https://www.b4x.com/android/help/views.html#activity_finish for Activity.Finish is very sparse: "Closes this activity." Click to expand... Therefore my question to understand and prevent Bugs in my App: Does Activity.Finish just cleans up internal B4A resources or does it handle e.g. necessary Android tasks? (I could imagine that B4A sends a signal to Android, for example, that an action has been received and processed so that Android does not have to search for another recipient.) if there is a pendant for Activity.Finish in Android Java, then a link in those docs would be very helpful. Thanks a lot, kind regards, Thomas
MarkusR Well-Known Member Licensed User Longtime User May 8, 2018 #2 think it closed a form/window and you can not use the back key to open it again. it is the opposite of Activity_Create at android if you have more than one activity in your app, one is active and the others are in pause mode. you can navigate & exchange data between activitys with CallSubDelayed2 Last edited: May 8, 2018 Upvote 0
think it closed a form/window and you can not use the back key to open it again. it is the opposite of Activity_Create at android if you have more than one activity in your app, one is active and the others are in pause mode. you can navigate & exchange data between activitys with CallSubDelayed2
J Jehoschua Member Licensed User May 8, 2018 #3 Thank you for your answer!, I have to think about it to be sure I've completely understand it Upvote 0
MarkusR Well-Known Member Licensed User Longtime User May 8, 2018 #4 android have a very special behavior. if you turn the device the activity get closed and reopen ^^ https://developer.android.com/ Upvote 0
android have a very special behavior. if you turn the device the activity get closed and reopen ^^ https://developer.android.com/