Playing sound in firemonkey


I use Firemonkey to deploy an android apps, with audio files on that.
I have about 30 animal button, and each of button will heard animals sound when user select it. Here is my code for the first button:

procedure TFMain.buttonLionClick(Sender: TObject);
MediaPlayer1.FileName := ‘D:\lion.mp3’;

But it is failed. How can I deploying that sounds in to my apps?

Comments are closed.