Hi,
In VB we can use the code 'End' and that will close the application, I wish the similar thing could be done in B4A.
In many threads Erel has suggested that you need stop all Services and make sure all activity's are closed before running the code 'ExitApplication'.
I wish there could be a script we could use and it will automatically close all activity's a stop all services for us without having to worry about which service and activity's are still running.
So for example, when you run the code 'ExitApplication' make it automatically stop all services in our app and close all activity's then fully close the app like what 'ExitApplication' is currently doing. This way we only need to worry about 1 line of code to close the app.
In VB we can use the code 'End' and that will close the application, I wish the similar thing could be done in B4A.
In many threads Erel has suggested that you need stop all Services and make sure all activity's are closed before running the code 'ExitApplication'.
I wish there could be a script we could use and it will automatically close all activity's a stop all services for us without having to worry about which service and activity's are still running.
So for example, when you run the code 'ExitApplication' make it automatically stop all services in our app and close all activity's then fully close the app like what 'ExitApplication' is currently doing. This way we only need to worry about 1 line of code to close the app.