Skip to content

How scoped storage is a solution to external storage drawbacks

Devrath edited this page Jun 7, 2021 · 2 revisions

  • Scoped storage was a solution to the problem.
  • Scoped storage is optional in android-10 but has become compulsory in android-11.
  • Because of scoped storage, System knows which application has created which file and has a track of each file, Thus when an application is uninstalled all the files that it created are also un-installed.
  • Every application has access to its directory in external storage and does not need a permission.

Modifying files in external storage created from other applications ?

  • We can perform this action using createWriteRequest, createDeleteRequest and modify the files in the directory created by other applications in external storage
  • But the catch here is, it requires the approval of the user.
Clone this wiki locally