My app runs on Android 5.0. I use method getExternalFilesDirs()
to check if external SD card is available. If it returns more than 1 File
, that means external SD card exists.
But on some devices (for example Elephone G2), method getExternalFilesDirs()
returns only one directory of primary storage. I'm sure that device has external SD card (/storage/sdcard1/).
Can any one give me the answer?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…