Jump to content

Focus sdcard2


Recommended Posts


I am attempting to access the sdcard2 folder from inside my application, I've tried many different paths however I am not sure if my app is allowed to access this folder / sd card.

Any tips on what I can do to access the sdcard2? :)



I've tried the following paths:


Link to comment
Share on other sites



I've also ran the commands:

adb shell pm grant APP android.permission.READ_EXTERNAL_STORAGEadb shell pm grant APP android.permission.WRITE_EXTERNAL_STORAGE

To no avail.


I fear the paths might not be working, or the app doesn't have permissions.


We're running Kiosk, do you think that may be altering permissions or something?

Link to comment
Share on other sites

  • 3 weeks later...


Unreal Engine 4.21

Code snippet:

FString filePath = FString(FileLocation);
    IPlatformFile& PlatformFile = FPlatformFileManager::Get().GetPlatformFile();

    if (PlatformFile.FileExists(*filePath)) {


But it will return false on the sd card.
Works for files on the inbuilt storage, we are using kiosk mode with that SD card, would that interfere?


The paths are like before:




Or more specifically paths like:

Using ADB the paths exists and files are found from my windows machine.

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...