How to get path to SD card
-
wrote on 28 Oct 2020, 11:02 last edited by Kyeiv
Hello,
I am trying to get the external SD card path, unfortunately /sdcard path leads to my internal smartphone storage. I have installed TotalCommander on the device and figured out that the actual path is: /storage/646A-1106/
So my question is how to use API to get this path for different devices?
-
Hello,
I am trying to get the external SD card path, unfortunately /sdcard path leads to my internal smartphone storage. I have installed TotalCommander on the device and figured out that the actual path is: /storage/646A-1106/
So my question is how to use API to get this path for different devices?
wrote on 28 Oct 2020, 11:35 last edited by@Kyeiv said in How to get path to SD card:
how to use API to get this path for different devices
If you refer to Qt API, you may want to check QStandardPaths class
-
@Kyeiv said in How to get path to SD card:
how to use API to get this path for different devices
If you refer to Qt API, you may want to check QStandardPaths class
wrote on 28 Oct 2020, 11:51 last edited by@Pablo-J-Rogina i looked through its documentation and i am afraid that it returns only internal storage paths.
3/3