musaso Active Member Licensed User Longtime User Oct 14, 2020 #1 I need to save user data just before closing the APP.
Erel B4X founder Staff member Licensed User Longtime User Oct 14, 2020 #2 Save whatever you need in B4XPage_Background event. You cannot know whether the app will be killed or not while it is in the background. Upvote 0
Save whatever you need in B4XPage_Background event. You cannot know whether the app will be killed or not while it is in the background.