I have been trying to create a customizable piano app in which the sound keys are configured in a separate Config screen.
I have been unable to successfully call the recorded sounds on the keys screen.
Any help is very appreciated!
Here are the blocks on the PIANO screen:
Here are the blocks on the CONFIGURATION screen:
And here is the .aia of the test project:
Teste_PassarArquivodesomPorTelas.aia (947.7 KB)
Make that 2nd Screen a Virtual Screen instead.
When we define virtual screens, we use one 'real' App Inventor Screen (most often Screen1). Screen-sized Vertical Arrangements on it are displayed/hidden as required - they are the Virtual Screens. This is generally a better approach for multi-screen Apps, they share data without having to "pass" it between screens and it also reduces code duplication, making the App more efficient and the code easier to follow if you have to return to it at a later date.
So, instead of separate "houses", virtual screens are "rooms" of the same "house".