Android external sdCard DCIM folder path

前端 未结 3 642
花落未央
花落未央 2020-12-20 23:20

I need the DCIM folder path from the external sdCard if it is present. I have observed that this path changes according to the manufacturer of the device (\"/storage/e

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-20 23:43

    Got the same problem using a Samsung device. Using the Google Photos App I was able to identify the real location of my SD-Card storage: "/storage/837D-10EB/DCIM" as opposed to the String given by the Environment framework, which is "/storage/emulated/0/DCIM". I don't know if this is a Samsung "problem" or if it has something to do with Android settings. Anyway, it would be good to know if there is an alternative way of finding the SD-Card Camera storage. I know there has to be one as the Google Photos app also finds those photos without any problem.

提交回复
热议问题