Hello! First time to ask a question here at stackoverflow. Exciting! Haha.
We\'re developing an Android game and we play some background music for our intro
You can try using the AsyncPlayer but you should keep a reference to the class in order to stop the sound from playing.
You can create a Uri to a local resource using Uri uri = Uri.parse("android.resource://com.stackoverlof.android/raw/ beep.mp3");.
Uri uri = Uri.parse("android.resource://com.stackoverlof.android/raw/ beep.mp3");
Hope this helps.