Android Question Question about reboot...


B4X founder
Staff member
Licensed User
Longtime User
There are many cases where your app process will be killed at once. You shouldn't rely on any specific event to persist important data (you can wait for Activity_Pause).

You can add an intent filter listening to: android.intent.action.ACTION_SHUTDOWN
Intent filters:

Note that it will start your app if it is not currently running.
Upvote 0