Is there anyway to trap/catch the close/exit of a b4j application ? I'd like to clean a few things up before terminating.
Thanks,
Gary M
Thanks,
Gary M
You can use a callback on the MainForm:
B4X:Sub MainForm_CloseRequest (EventData As Event) End Sub
I'm not sure if there are any limitations as to what you can do in there, as there are in B4a Activity_pause, but i don't think so.