MitchBu Well-Known Member Licensed User Longtime User Dec 22, 2020 #1 In https://www.b4x.com/android/forum/threads/equivalent-of-activity-resume-pause.80616/#post-510713 Erel suggests to use the Page_Appear and Page_Disappear events to replace Activity Pause. So I put this in my project: B4X: Sub Page_Appear Log("Hello") End Sub Sub Page_Disappear Log("Bye") End Sub Problem is, they don't seem to ever fire. The original post is 3 years old. Perhaps the system has changed since then. Is there still no possibility to detect when the app pauses ?
In https://www.b4x.com/android/forum/threads/equivalent-of-activity-resume-pause.80616/#post-510713 Erel suggests to use the Page_Appear and Page_Disappear events to replace Activity Pause. So I put this in my project: B4X: Sub Page_Appear Log("Hello") End Sub Sub Page_Disappear Log("Bye") End Sub Problem is, they don't seem to ever fire. The original post is 3 years old. Perhaps the system has changed since then. Is there still no possibility to detect when the app pauses ?
Erel B4X founder Staff member Licensed User Longtime User Dec 22, 2020 #2 MitchBu said: The original post is 3 years old. Perhaps the system has changed since then. Click to expand... B4i is of course backward compatible. The event name (Page_) is probably wrong. I do however warmly recommend you to switch to B4XPages. Simpler and cross platform. Upvote 0
MitchBu said: The original post is 3 years old. Perhaps the system has changed since then. Click to expand... B4i is of course backward compatible. The event name (Page_) is probably wrong. I do however warmly recommend you to switch to B4XPages. Simpler and cross platform.
MitchBu Well-Known Member Licensed User Longtime User Dec 22, 2020 #3 Thanks Erel . I will check B4XPages. Upvote 0