Skip to content

Types of Storages in Android

Devrath edited this page Jul 25, 2021 · 2 revisions

Internal Storage

  • Each application has a private directory.
  • Thus many applications have their own individual private directories
  • The private directory of one application is not visible to the other application.
  • This is the easiest way of storing the data
  • Permission is not required to store the data in the internal storage

External Storage

  • Everything else apart from the internal storage is considered as the external storage.
  • Permission is required for storing data in external storage.
  • Once you store the data(ex:-image) in the external storage, all the apps can access this data.
  • But all the images stored in external storage are tracked by the apps that created it.
  • Say application-1 creates one image in the external storage, and the application-2 cannot delete it directly, instead requires the permission of the user before deleting it.