How can I create a music player from a specific folder?

how to create a music media player from a specific folder example: can only play music from the music_folder folder

Does this folder already exist or should it be created first? If it is to be created first, where does the sound file come from?

This path cannot be created when AI2 targets Android 11 (Aug 2021):

/storage/emulated/0/music_folder/

Then the ASD should be used:

/storage/emulated/0/Android/data/<packageName>/files/music_folder/

1 Like