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

Feature Request: Add IFileSystem.RemoveableStorage #36

Open
jasells opened this issue Mar 28, 2016 · 1 comment
Open

Feature Request: Add IFileSystem.RemoveableStorage #36

jasells opened this issue Mar 28, 2016 · 1 comment

Comments

@jasells
Copy link

jasells commented Mar 28, 2016

  1. It looks like this project is a little dormant at the moment. I saw reference to System.IO.File being made portable... until then I need a portable solution, and this looks pretty good, except for accessing removable storage (SD cards, etc).

I don't see anything for that in the current API, so if it exists, please point me in the right direction.

Assuming it would be a new feature, I need access to Removable storage, and I know there isn't a real use case for iOS, but most other platforms do support it, and it would be extremely useful my more than one of my apps.

It seems like it would be a rather easy thing to add, and simply throw a NotSupportedException for iOS, even though I wouldn't expect anyone to try.

I may add it myself and send a pull request, if there are no plans or alternatives found.

@dominik-weber
Copy link

+1 ;) it would be quite useful if we had references to removable media on android devices (for sharing files with other apps)
I'm using this function in my own FileSystemService class in the mean time:

public IFolder ShareFolder
{
    get
    {
        if (shareFolder == null)
        {
            var dir = MainActivity.Instance.GetExternalFilesDir(null);
            shareFolder = new FileSystemFolder(dir.AbsolutePath);
        }

        return shareFolder;
    }
}

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

2 participants