1,获取SD卡文件
File file=new File(Environment.getExternalStorageDirectory().toString()+"/Music",
"music.mp3");
mediaPlayer.setDataSource(file.getPath());
2022-08-31 16:09:50
1,获取SD卡文件
File file=new File(Environment.getExternalStorageDirectory().toString()+"/Music",
"music.mp3");
mediaPlayer.setDataSource(file.getPath());