I have noticed that some apps are accessing/reading/writing in the storage without asking for permissions. Note that I am not talking about apps' internal folder, but the shared storage located at /storage or /storage/emulated/0.

For example, browsers like Chrome, Brave, etc. can download files without asking for storage permission. While Firefox does have to gain permission before the download starts (I am aware that Chrome already has permission since it's built in, but Brave does not have it).

On the other hand, I have downloaded a video player called Just Video Player, it's simple and open-source, and I like it. It also does not ask for storage permission. I go to any file manager, click on a video file, select Just Video Player, and it starts playing. How does that happen?

I know I may be asking for information which is too technical for me or something, but I need to know.

  • 1
    They might be using Storage Access Framework or Media Store. Commented Oct 8, 2021 at 10:21
  • It's not using Storage Access Framework, because then I'd have to open the files selection menu and grant access.
    – Hal
    Commented Oct 9, 2021 at 6:16
  • SAF permission can be persisted once granted. Commented Oct 9, 2021 at 7:49

1 Answer 1


When you open a file through a file manager, the receiving application is automatically granted access to that resource. Though the access is somehow limited (short lived) and may not work past app or device restart.

As an author of Just (Video) Player, I focus on simple working design where you don't need read permission except for some edge case (supporting some outdated apps).

You may check this comprehensible table for various types of access to files: https://developer.android.com/training/data-storage

  • Thanks for answering the question. I saw the link you posted, and I think Brave browser is using the Scoped Storage feature, so it does not need permission to create new files and to read files that it creates. Am I close?
    – Hal
    Commented Oct 9, 2021 at 6:19
  • I don't know for sure but my guess is that apps like web browsers use system service DownloadManager - developer.android.com/reference/android/app/DownloadManager to download files so they do not have to request any write storage permission.
    – moneytoo
    Commented Oct 9, 2021 at 18:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .