How do I get all audio files on Android?
Answer
First we have to spacify what are the contents we are going to retrieve, for that we will create an array of projections we need. String[] proj = { MediaStore. Audio. Media.
…
MediaStore. Audio is works like a container.
Answer
First we have to spacify what are the contents we are going to retrieve, for that we will create an array of projections we need. String[] proj = { MediaStore. Audio. Media.
…
MediaStore. Audio is works like a container.
- Get all the audio file from MediaStore.
- Add all the retrieved files in a List.
- Display the List.