android应用程序如何检测设备中的两个SD卡

问题描述:

如果android设备有两个SD卡,那么应用程序如何在android中检测到两个SD卡。例如,设备具有“left user sdcard”&“right user sdcard”。那么Android如何以编程方式支持 谢谢,Shivandroid应用程序如何检测设备中的两个SD卡

+0

看一看这个,[如何检测双SD卡] [1] [1]:http://*.com/questions/7044545/android-how-to-detect-dual-sd-card – mH16

+0

Duplicate of:http://*.com/questions/5694933/find-an -external-SD卡定位 –

文件系统中只有两个卡的安装点。这取决于固件。设备制造商最有可能定义。虽然,我还从来没有遇到过任何这样的Android设备(实际上,没有手持设备至今)

可能映射:

你的内部闪存应该是:/mnt/sdcard/

外卡:/mnt/sdcard/sdcard1/mnt/sdcard/sdcard2(或/mnt/sdcard/sdc1/mnt/sdcard/sdc2