B4A Tutorial Android Process and activities life cycle - Erel    Feb 12, 2018   (14 reactions) Activity_Pause is the last place to save important information.
Generally there are two types of mechanisms that allow you to save the activity state.
Information that is only relevant to the current application instance can be stored in one or more process variables.
Other information should be sto B4A Question B4A activity life cycle/behaviour question - Unobtainius    May 13, 2021 I have a tablet that sits in a dock
In general the dock just supplies power to the tablet
When the tablet is removed from that dock my B4XPages application seems to be killed and restarts as if for the first time
This does not happen when connected to a normal power supply and plugging it in and unp B4A Question Activity issues - Cableguy (first post)    Mar 08, 2016   (1 reaction) Basic activity life-cycle issue... Any activity, being it a B4x created app or any other, when in background for long risk being terminated by the OS and the ap will start fresh when brought to foreground.
A way to managed and minimise this standard behaviour is to use the StarterService to manage t B4i Tutorial ActivityClass: A cross-platform development class and strategy for b4i/b4a - Jack Cole    Jun 16, 2020   (17 reactions) I also developed a strategy for developing and maintaining the apps. In b4i, the ActivityClass handles the execution of the relevant Android activity life-cycle subs. It uses a NavigationController in the Main b4i module to handle the UI for the b4a Activity module.
Recommended strategy for devel B4A Question Activities Cycle, Changing Orientations, and Object Initializations - Erel (first post)    Jun 20, 2015 I recommend you to start with this very important tutorial: Android Process and activities life cycle
1) Activity_Pause of the current activity will be called and then the next activity will be started. Events will only be raised in the visible activity. Use a service if you need a timer to continu B4A Question Invoking multiple activities back-to-back w/o an event - Jeffrey Cameron (first post)    Jan 31, 2019   (2 reactions) The OS is only ever running one of your activities at a time. Your activity 1 would call activity 2, in activity 2 you have a "next" button which calls activity 3, or back to 1 if cancel, etc.
See: https://www.b4x.-process-and-activities-life-cycle.6487/ B4A Question Activity.Finish issue - Cableguy (first post)    Oct 29, 2015 There is a special thread that explains exactly this, called "activities lifecycle"... You should give it a peek... Wich I'm having trouble finding it....
Still, I found this one, which is as good...
https://www.b4x.-life-cycle-of-a-b4a-activity.40515/#post-242241 B4A Question Disable the Power button. - josejad (first post)    Aug 26, 2024   (3 reactions) Then I think you should handle such situation in Activity_Resume and maybe you should make something on Activity_Pause
https://www.b4x.-life-cycle-of-a-b4a-activity.40515/ B4A Question How to save Bluethooth connection state during a screen rotation - William Lancee (first post)    Feb 10, 2022   (1 reaction) The design consideration behind B4XPages is that it simplifies the activity cycle of Android by eliminating Pause and Resume. This helps in making the App cross-platform (Desktop, Android, iOS), but it also means a commitment to a given orientation. (As I mentioned, you can detect first how the user B4A Question Activity_Create Question - Eme Fibonacci (first post)    Oct 27, 2017 Read about activities life cycle: create, pause and resume events.
https://www.b4x.-process-and-activities-life-cycle.6487/#content Page: 1   2   3   4   5   6   7   Powered by ColBERT |