This is a simple question. How do I playSound() on the splash screen? There isn’t an onEvent for a screen load. There isn’t a start() or static void main() function like in procedural languages.
Thanks,
Carol
This is a simple question. How do I playSound() on the splash screen? There isn’t an onEvent for a screen load. There isn’t a start() or static void main() function like in procedural languages.
Thanks,
Carol
Your App Lab program is run from top to bottom. onEvent is just a function that gets called. You can add playSound() to the end of the program as a lone statement and it should play that sound when you press run. On your phone it may be different it may not play until you touch the screen in some way.
Awesome, thanks!