2 ms·
There seems to be a lot of misinformation and needless alarm in this topis. Let's clarify: - What's going away is the permission that gives an app full, uncont
by izacus 8y ago
There seems to be a lot of misinformation and needless alarm in this topis. Let's clarify:
- What's going away is the permission that gives an app full, uncontrolled access to everything in external storage, including data from other apps and your personal photos.
- What IS NOT going away, is Storage Access Framework API (which was available from Android 4.4) which effectively gives you a File/Directory open dialog - same as on sandboxed macOS or Windows app. Using that dialog also grants application access to the selected document or directory tree to do what they will.
This solution allows you, as a user, to explicitly grant an app a full access to a filetree without being forced to give it access to EVERYTHING on the phone.
There are also now special roles for apps which come with some of these permissions granted. For example, an app with GALLERY role will still be able to access photos on device, but you as a user will have to choose a gallery.
- gnomewascool 8y agoJust to make sure, as there is conflicting information in various (more or less) trustworthy places, will apps using SAF have full rw random-access to files (contained in the tree to which they were granted access), without additional latency, and will the interface be available without Java (e.g. if you're using C/C++/Go etc.)?
- pjmlp 8y agoNo, they are Java only. Even the permissions are Java only. They worked around it on the NDK samples by removing the features that would require the use of the permissions API, just to show how seriously they take the NDK.