I have multiple audio files in res/raw folder. I showing ListView that contains audio files name. I want to play the corresponding audio file when user select into the ListView. I have used setDataSource(path), but it showing error while playing. How play the audio files directly from that folder? Or Is there any other way?
I have multiple audio files in res/raw folder. I showing ListView that contains audio
Share
add this code in onItemClickListener.