Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

How to use it as a folder picker? #9

Open
Shashank066 opened this issue Feb 14, 2016 · 1 comment
Open

How to use it as a folder picker? #9

Shashank066 opened this issue Feb 14, 2016 · 1 comment
Labels

Comments

@Shashank066
Copy link

I want to use it as a folder picker and get persistible uri permission grants to it, similiar to what storage access framework provides with Intent.ACTION_OPEN_DOCUMENT_TREE. e.g.

public static void takePersistiblePermission(Activity context,int additionalCode) { Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT_TREE); intent.addFlags(Intent.FLAG_GRANT_PERSISTABLE_URI_PERMISSION); context.startActivityForResult(intent, SAF_REQUEST_CODE+additionalCode); }

If while opening NativeUI, I set the MIME type to "resource/folder" it shows folders only but I can't choose it. Thanks for the wonderful library.

@aldoborrero
Copy link
Contributor

@Shashank066 Thanks for using the library!

Right now I want to notice that the previous maintainer of the library has left and right now I'm charge of this part.

We're doing some refactoring things for our organisation.

After that I'll become the new project maintainer of this project (among others). I'm planning to update and refactor a couple of things for coltrane.

So let me tag this issue as bug and as soon as I work on this I'll contact you with a response to the issue!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants