moore_it Well-Known Member Licensed User Longtime User Aug 3, 2015 #1 Hi everybody, i've made an app that start with a login page (user/password), when i use the documentinteraction and go to another app for print or mail a document created with it, when i return to my app it's return to login screen ... why ? Where i mistake ? Thanks in advice Toni
Hi everybody, i've made an app that start with a login page (user/password), when i use the documentinteraction and go to another app for print or mail a document created with it, when i return to my app it's return to login screen ... why ? Where i mistake ? Thanks in advice Toni
Erel B4X founder Staff member Licensed User Longtime User Aug 3, 2015 #2 Test it in Release mode. Your app might be killed while it is in the background. In that case it will start from Application_Start again. Upvote 0
Test it in Release mode. Your app might be killed while it is in the background. In that case it will start from Application_Start again.
moore_it Well-Known Member Licensed User Longtime User Aug 3, 2015 #3 for avoid this kill ... how i do ? Thanks for help Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 4, 2015 #4 First test whether this is really the case here. Is application_start executed when your app resumes? The OS is allowed to kill the process. You should save the state in Application_Background and then set it back in Application_Start. Upvote 0
First test whether this is really the case here. Is application_start executed when your app resumes? The OS is allowed to kill the process. You should save the state in Application_Background and then set it back in Application_Start.
moore_it Well-Known Member Licensed User Longtime User Aug 7, 2015 #5 OOOOOOH Yes it works Thanks Erel Upvote 0