I'm sure it's very simple!!!
But is there an equivalent AppStop sub when application stop. I need to save some parameter before closing app.
kind of this:
sub AppStop ()
save_data_app()
log ("bye bye")
end sub Pietro
New video tutorial: Lets start simple: Each B4A program runs in its own process. A process has one main thread which is also named the UI thread which lives as long as the process lives. A process can also have more threads which are useful for background tasks. A process starts when the...
www.b4x.com
Make sure to save them when a activity goes to pause.
Edit: StateManager was written in 2011. I don't recommend using it for new projects. Use B4XPages + KVS2 instead. StateManager is a code module which takes care of handling the application UI state and settings. Settings Settings are the application configurable settings. These settings should...