Want to pass the uri music file path, for example/storage/emulated/0/1. MP3
Uri. GetPath () to get just the filename,
With the MediaStore. Video. VideoColumns. DATA acquisition, empty
CodePudding user response:
I'm sorry, write wrong, is MediaStore. Audio. AudioColumns. DATA
CodePudding user response:
/storage/emulated/0 this is built-in sdcard path you can get the path and then get music path
CodePudding user response: