In this example, we use the Actuation service to set up an Animate action and we use the mediaPlayer to play a sound that will be triggered on the robot’s speakers.
https://android.aldebaran.com/doc/elephant_tutorial.html
Pepper mimics the elephant in the robot view, and sounds the cries of the elephant
Video Pepper mimics the elephant in Android emulator