Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //please subscribe to my channel
- //in case you want to make a video using my snippet please make a refer to me ποΈ
- android.database.Cursor c=getContentResolver().query(android.provider.MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, new String[]{android.provider.MediaStore.Audio.Media.DISPLAY_NAME}, null, null, null);
- while(c.moveToNext())
- {
- String name=c.getString(c.getColumnIndex(android.provider.MediaStore.Audio.Media.DISPLAY_NAME));
- audio.add(name);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement