Multiple Screens Returning Results

The attached aia file is a sample program that uses multiple screens and passes results between screens.

When the user clicks the Screen2 Button the program will open Screen2. The user may enter two numbers in the text boxes on Screen2 and when the user clicks the Home Button on Screen2 the sum of the numbers entered will be returned as a result to Screen1. Screen3 works the same way. Each time a screen closes returning a result to Screen1, Screen1 will add the result to the running total (stored in a global variable accessible in Screen1).

Note: Using the companion app it is only possible to test each screen individually. The returning of the result will not work. To test this, you must select Build -> App (provide QR code for .apk). Use a QR code reader to download the app via this QR code and test.