I'm new to choregraphe and NAO. I'm working on different meditation exercises, that NAO guides the user through and I want to have one "Master application" that introduces the different exercises and let's the user choose, which one they want to do.
How do I implement an application switch in Choregraphe?
You can make an application that lists all the other applications, by calling
ALPackageManager.packages2and going through the results. You have to spot packages that provide behaviors of nature "Interactive". You can get their human-readable names to populate a graphical menu. You can get their trigger sentences to populate a dialogue-based menu.When an app is selected, use
ALAutonomousLife.switchFocusto leave your launcher app and start the other app. Make sure the launch conditions of your launcher app leads to restarting it if a user is still around when the other app finishes.