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

resource/folder support #419

Closed
axet opened this issue Jan 24, 2017 · 4 comments
Closed

resource/folder support #419

axet opened this issue Jan 24, 2017 · 4 comments

Comments

@axet
Copy link

axet commented Jan 24, 2017

http://stackoverflow.com/a/26651827/855895

    Uri selectedUri = Uri.parse(Environment.getExternalStorageDirectory() + "/test");
    Intent intent = new Intent(Intent.ACTION_VIEW);
    intent.setDataAndType(selectedUri, "resource/folder");

    if (intent.resolveActivityInfo(getPackageManager(), 0) != null)
    {
        startActivity(intent);
    }
    else
    {
        // if you reach this place, it means there is no any file 
        // explorer app installed on your device
    }
@VishalNehra
Copy link
Member

I've pushed a fix, please test when beta version comes out.

@axet
Copy link
Author

axet commented Nov 6, 2017

Seems like you add "resource/folder" + "file://" links.

Are you going to add "resource/folder" + "content://" not sure if it is even a android documented feature?

@VishalNehra
Copy link
Member

This was resolved.

@EmmanuelMess
Copy link
Member

@axet

Are you going to add "resource/folder" + "content://" not sure if it is even a android documented feature?

content is a sticking point, if its not yet implemented, please open another issue.

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

No branches or pull requests

3 participants