Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support initialDirectory of getDirectoryPath in Android #1411

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nnnlog
Copy link

@nnnlog nnnlog commented Nov 20, 2023

For example, given /storage/emulated/0/DCIM as initialDirectory, it converts path to primary:/DCIM internally. Using EXTRA_INITIAL_URI and com.android.externalstorage.documents, can set initialDirectory of file explorer. It works for android.

@@ -243,6 +243,21 @@ public static String getFullPathFromTreeUri(@Nullable final Uri treeUri, Context
}
}

@Nullable
@SuppressWarnings("deprecation")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need to use deprecated SDKs? I'd like to merge it but I'm afraid I don't want to introduce more deprecated SDKs.

@miguelpruivo miguelpruivo self-assigned this Mar 4, 2024
@miguelpruivo
Copy link
Owner

@nnnlog any news on this?

@miguelpruivo miguelpruivo added android Issue applies to Android platform improvement Improvement needed on a specific feature labels Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Issue applies to Android platform improvement Improvement needed on a specific feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants