Skip to content

x/mobile: Android Storage Access Framework support #10588

Closed
@Nutomic

Description

@Nutomic

On Android Kitkat and higher, the Storage Access Framework is the only way to read/write files on an external SD card (eg /storage/sdcard1/).

However, access to that is handled through URIs like this:

content://com.android.providers.media.documents/document/image:62

These URIs can't easily be converted to paths [1]. We need this for syncthing-android, and have discussed this already [2] [3].

Go Version: 1.4.2
OS: Android, any architecture

[1] http://stackoverflow.com/q/20067508/1837158
[2] syncthing/syncthing-android#29
[3] https://forum.syncthing.net/t/writing-to-external-sd-card-in-android-5-0-and-above/2492

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions