Android Development

Issue Tracker Android Updates Android Home Home Contact

External storage refers to non-private storage accessible by multiple apps, including:

  • Device's built-in shared storage
  • Removable SD cards (when available)
All access is controlled by Android's Scoped Storage model since Android 10.

Key Locations

  • App-Specific (Android/data/your.package)
    • Private to your app
    • Deleted on uninstall
  • Public Folders (Music, Photos, etc.)
    • Shared with all apps
    • Persists after uninstall

Usage Guidelines

  • Use For: Large files, shared content, user documents
  • Avoid For: Private data, app settings
Warning: Full access requires special permissions that may be restricted.

Best Practices

  • Use app-specific storage for private files
  • Check available space before writing
  • Handle storage changes reliably — detect if storage becomes unavailable (e.g., SD card removed), and notify users or retry operations safely