The `End` command is in the Help index but it is not there.
Is there a way to quit and close the program? For example, in case of critical exceptions (no data file found, etc.).
End, quit, close
Re: End, quit, close
Web App ? Apk ?mdp wrote:Is there a way to quit and close the program?
➽ Windows 11 - JDK 1.8 - SB 2.40 - Android 13
➽ http://falsam.com
Sorry for my poor english
Re: End, quit, close
If it is a web application, you can manage the error messages.
Closing a tab is possible, but may not work with some browsers.
With android, an application is never closed. She's in the background.Test this procedure
Closing a tab is possible, but may not work with some browsers.
With android, an application is never closed. She's in the background.Test this procedure
Code: Select all
Procedure Exit()
!window.close();
EndProcedure
➽ Windows 11 - JDK 1.8 - SB 2.40 - Android 13
➽ http://falsam.com
Sorry for my poor english
Re: End, quit, close
You mean, in SB? Android does have a "End" command, it's the Activity.finish() method.falsam wrote:With android, an application is never closed.
Re: End, quit, close
For mobile app, you can try:
I will add it for the 'End' keyword
Code: Select all
!navigator.app.exitApp();