gregorio_adrian_gimenez Active Member Licensed User Longtime User Jan 26, 2022 #1 Hi, my friends! I am reviewing a very large code, for some reason when closing the app with the command: exitaplication, the starter service is activated again by itself. I made sure that I do not have any code in this service. What can be? Cheers service starter opens after executing exitaplication exitaplication *** Service (starter) Create *** Click to expand... regards
Hi, my friends! I am reviewing a very large code, for some reason when closing the app with the command: exitaplication, the starter service is activated again by itself. I made sure that I do not have any code in this service. What can be? Cheers service starter opens after executing exitaplication exitaplication *** Service (starter) Create *** Click to expand... regards
mangojack Expert Licensed User Longtime User Jan 26, 2022 #2 There is quite a few threads covering this ... one of many ... kisoft said: do not use exitApplication, android will treat it as if the application has been suspended. Use activity.finish and let the system close the application. Do not fight it. Click to expand... Exit from application in clean way To exit and close my B4A application, I have tried all methods I can think of like exitApplication etc. But the app is always still there waiting pounce back. Can someone kindly advise .. greatly appreciated Thank You Kunhock www.b4x.com Upvote 0
There is quite a few threads covering this ... one of many ... kisoft said: do not use exitApplication, android will treat it as if the application has been suspended. Use activity.finish and let the system close the application. Do not fight it. Click to expand... Exit from application in clean way To exit and close my B4A application, I have tried all methods I can think of like exitApplication etc. But the app is always still there waiting pounce back. Can someone kindly advise .. greatly appreciated Thank You Kunhock www.b4x.com