Realizing this has been asked several times, and I've seen many answers and suggestions.
All of which I've tried to no avail. Is there any sample B4A app, that once closed will not continue to run?
I've tried
Dim jo As JavaObject:jo.InitializeContext:jo.RunMethod("finishAffinity", Null)
tmrOktaAuthCheck.Enabled = False:tmrOktaGetUserInfo.Enabled = False:
tmrOktaLogoutCheck.Enabled = False:tmrShowTitle.Enabled = False
Activity.CloseMenu:Activity.DisableAccessibility(True):Activity.Finish:
pnlMain.RemoveAllViews
ExitApplication
Nothing seems to work, the app I am testing this with consists of only a single button to execute the code.
I'm wondering if someone has a sample app that I can try that actually will unload when 'closed' or is this impossible with B4A?
All of which I've tried to no avail. Is there any sample B4A app, that once closed will not continue to run?
I've tried
Dim jo As JavaObject:jo.InitializeContext:jo.RunMethod("finishAffinity", Null)
tmrOktaAuthCheck.Enabled = False:tmrOktaGetUserInfo.Enabled = False:
tmrOktaLogoutCheck.Enabled = False:tmrShowTitle.Enabled = False
Activity.CloseMenu:Activity.DisableAccessibility(True):Activity.Finish:
pnlMain.RemoveAllViews
ExitApplication
Nothing seems to work, the app I am testing this with consists of only a single button to execute the code.
I'm wondering if someone has a sample app that I can try that actually will unload when 'closed' or is this impossible with B4A?