Skip to main content
InterviewHubPRO
Section Overview
Q16

Question 16 of 50

Part 2: Compose Internals, Persistence, DI & Background Work (11 - 24)

32%
Android & Jetpack Compose (50 Qs)•Part 2: Compose Internals, Persistence, DI & Background Work (11 - 24)

What is Scoped Storage in Android?

senior LevelMost AskedDocker & Containers

In Simple Words: Introduced in Android 10+ to protect user privacy and eliminate wide access to external storage:

  • Apps have an isolated, app-specific internal directory (context.filesDir) that other apps cannot view.
  • Apps cannot access arbitrary file paths on external storage (/sdcard/).
  • To access shared media (Photos, Videos, Audio), apps must use the MediaStore API or the system Storage Access Framework (SAF) file picker without requiring broad storage permissions.