Playing .wav file from resource

  

I’m writing an android app using Firemonkey.

For this reason I cannot use MMSystem’s function sndPlaySound to play from the resource file, because that is Windows only.

The media player works and resources are supported under Firemonkey. But the media player cannot use resource files directly.

How do I play a sound from resource using TMediaPlayer?

Comments are closed.