ExitApplicationImmediately ends the application and stops the process.Most applications should not use this method and prefer Activity.Finish which lets the OS decide when the process is killed. B4A Question ExitApplication vs. Activity.Finish - Beja    May 15, 2017 It's everywhere that to let the OS kill the app or process is better.. but I didn't read or ... Wish I wish ExitApplication didn't empty the clipboard. - LucaMs    Jan 19, 2021 I wish ExitApplication didn't empty the clipboard.... B4A Question Question about ExitApplication and sleep - Scantech    May 2, 2019 If decide to use ExitApplication, i have this code that i use in Main Pause Userclosed = true
StopService(ComSerial)
StopService(CommunicationRoutine)
Sleep(0)
ExitApplication 'remove this and test it.
Result
** Activity (main) Pause... B4J Question ExitApplication don't Close Java - Swissmade    Jun 28, 2017 : " & StdErr)
End If
StopMessageLoop
ExitApplication
End Sub... B4A Question ExitApplication - I'm confused - JackKirk    Jun 29, 2016 I have been exploring ExitApplication as a means of managing out of memory errors.
In the Starter...
ExitApplication
'Do not allow normal OS default exceptions handler to handle uncaught exception... B4A Question ExitApplication / Activity.Finish do not close App - yonson    Mar 21, 2016 is the correct approach) and ExitApplication, but no matter what I use the app remains in memory and... Wish Stop Services & Activitys automatically when using 'ExitApplication' - aaronk    Dec 27, 2014 and make sure all activity's are closed before running the code 'ExitApplication'.
I wish....
So for example, when you run the code 'ExitApplication' make it automatically stop all... B4A Question how to handle Activity_KeyPress for ExitApplication - TILogistic (first post)    Jun 27, 2021   (2 reactions) B4XMainPage
Private Sub B4XPage_CloseRequest As ResumableSub
ExitApplication
Return True
End Sub... Bug? ExitApplication doesn't trigger Form_Closed - jmon    Jul 8, 2014 Hi,
I noticed that ExitApplication doesn't trigger Form_Closed and Form_CloseRequest like in this example:
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm... btnClose_Action
ExitApplication
End Sub
Sub MainForm_CloseRequest (EventData As Event)
Log... B4A Question ExitApplication -- A legitimate use case? - Charlie Burnham (first post)    Mar 4, 2021 It’s initialized by a layout load, not explicitly. There are actually 3 layouts, loaded in secession... Page: 1   2   3   4   5   6   7   |