android开发内置存储设备外置SD卡的路径怎么获取

2024-12-15 13:11:45
推荐回答(1个)
回答1:

获取sd卡的路径方式如下:
List extPaths = getExtSDCardPath();
for (String path : extPaths) {
log.append("外置SD卡路径:" + path + "\r\n");
}
System.out.println(log.toString());