René's URL Explorer Experiment


Title: Data and file storage overview  |  App data and files  |  Android Developers

Open Graph Title: Data and file storage overview  |  App data and files  |  Android Developers

Description: This document outlines the various options for saving app data on Android, categorizing them into app-specific, shared, preferences, and databases, while also explaining internal and external storage, permissions, and scoped storage.

Open Graph Description: This document outlines the various options for saving app data on Android, categorizing them into app-specific, shared, preferences, and databases, while also explaining internal and external storage, permissions, and scoped storage.

Keywords:

Opengraph URL: https://developer.android.com/training/data-storage

direct link

Domain: developer.android.com


Hey, it has json ld scripts:
  {
    "@context": "https://schema.org",
    "@type": "Article",
    
    "headline": "Data and file storage overview"
  }
  {
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [{
      "@type": "ListItem",
      "position": 1,
      "name": "Develop",
      "item": "https://developer.android.com/develop"
    },{
      "@type": "ListItem",
      "position": 2,
      "name": "Core areas",
      "item": "https://developer.android.com/develop/core-areas"
    },{
      "@type": "ListItem",
      "position": 3,
      "name": "App data and files",
      "item": "https://developer.android.com/training/data-storage"
    }]
  }
  

google-signin-client-id721724668570-nbkv1cfusk7kk4eni4pjvepaus73b13t.apps.googleusercontent.com
google-signin-scopeprofile email https://www.googleapis.com/auth/developerprofiles https://www.googleapis.com/auth/developerprofiles.award https://www.googleapis.com/auth/devprofiles.full_control.firstparty
og:site_nameAndroid Developers
og:typewebsite
theme-color#34a853
NoneIE=Edge
og:imagehttps://developer.android.com/static/images/training/data-storage/room_architecture.png
og:image:width1200
og:image:height675
og:localeen
twitter:cardsummary_large_image

Links:

Skip to main content http://developer.android.com/guide/topics/data#main-content
http://developer.android.com/
Essentials https://developer.android.com/get-started
Get started https://developer.android.com/ai
Hello, world! https://developer.android.com/get-started/overview
Developer Verification https://developer.android.com/developer-verification
Adaptive apps https://developer.android.com/adaptive-apps
Compose for UI https://developer.android.com/compose
AI-powered IDE https://developer.android.com/studio
Training https://developer.android.com/courses
Monetization with Play ↗️ https://play.google.com/console/about/guides/play-commerce/
Phones, tablets, foldables https://developer.android.com/phones-tablets-foldables
Android for Cars https://developer.android.com/cars
Android TV https://developer.android.com/tv
Android XR https://developer.android.com/xr
Googlebook https://developer.android.com/googlebook
ChromeOS https://developer.android.com/chrome-os
Wear OS https://developer.android.com/wear
Games https://developer.android.com/games
Camera & media https://developer.android.com/media
Social & messaging https://developer.android.com/social-and-messaging
Health & fitness https://developer.android.com/health-and-fitness
Productivity https://developer.android.com/productivity
Enterprise apps https://developer.android.com/work/overview
Latest updates https://developer.android.com/latest-updates
Experimental updates https://developer.android.com/latest-updates/experimental
Android Studio preview https://developer.android.com/studio/preview
Jetpack & Compose libraries https://developer.android.com/jetpack/androidx/versions
Wear OS releases https://developer.android.com/training/wearables/versions/latest
Privacy Sandbox ↗️ https://developer.android.com/design-for-safety/privacy-sandbox
Design & Plan https://developer.android.com/design
Learn more https://developer.android.com/quality/excellent
Design for Android https://developer.android.com/design/ui
Mobile https://developer.android.com/design/ui/mobile
Desktop experiences https://developer.android.com/design/ui/desktop
XR Headsets & XR Glasses https://developer.android.com/design/ui/xr
AI Glasses https://developer.android.com/design/ui/ai-glasses
Widgets https://developer.android.com/design/ui/widget
Wear OS https://developer.android.com/design/ui/wear
Android TV https://developer.android.com/design/ui/tv
Android for Cars https://developer.android.com/design/ui/cars
Introduction https://developer.android.com/topic/architecture/intro
Libraries https://developer.android.com/topic/libraries/view-binding
Navigation https://developer.android.com/guide/navigation/navigation-principles
Modularization https://developer.android.com/topic/modularization
Testing https://developer.android.com/training/testing/fundamentals
Kotlin Multiplatform https://developer.android.com/kotlin/multiplatform
Overview https://developer.android.com/quality
Core value https://developer.android.com/quality/core-value
User experience https://developer.android.com/quality/user-experience
Accessibility https://developer.android.com/guide/topics/ui/accessibility
Technical quality https://developer.android.com/quality/technical
Excellent Experiences https://developer.android.com/quality/excellent
Overview https://developer.android.com/security
Privacy https://developer.android.com/privacy
Permissions https://developer.android.com/privacy#app-permissions
Identity https://developer.android.com/identity
Fraud prevention https://developer.android.com/security/fraud-prevention
Develop https://developer.android.com/develop
Learn more https://developer.android.com/gemini-in-android
Get Android Studio https://developer.android.com/studio
Samples https://developer.android.com/samples
Multidevice support https://developer.android.com/multidevice
User interfaces https://developer.android.com/develop/ui
Background work https://developer.android.com/develop/background-work
Data and files https://developer.android.com/guide/topics/data
Connectivity https://developer.android.com/develop/connectivity
All core areas ⤵️ https://developer.android.com/develop#core-areas
Write and debug code https://developer.android.com/studio/write
Build projects https://developer.android.com/build/gradle-build-overview
Test your app https://developer.android.com/training/testing
Performance https://developer.android.com/topic/performance/overview
Command-line tools https://developer.android.com/tools
Gradle plugin API https://developer.android.com/reference/tools/gradle-api
Android Bench https://developer.android.com/bench
Phones, tablets, foldables https://developer.android.com/phones-tablets-foldables
ChromeOS https://developer.android.com/chrome-os
Android for Cars https://developer.android.com/training/cars
Android TV https://developer.android.com/training/tv
Android XR https://developer.android.com/develop/xr
Wear OS https://developer.android.com/training/wearables
Android Health https://developer.android.com/health-and-fitness/guides
Better Together https://developer.android.com/develop/better-together
All devices ⤵️ https://developer.android.com/develop#devices
Android platform https://developer.android.com/reference/packages
Jetpack libraries https://developer.android.com/jetpack/androidx/explorer
Compose libraries https://developer.android.com/jetpack/androidx/releases/compose
Google Play services ↗️ https://developers.google.com/android/reference/packages
Google Play SDK index ↗️ https://play.google.com/sdks
Google Play https://developer.android.com/distribute
Go to Play Console https://play.google.com/console
Learn more ↗️ https://play.google.com/console/about/
Play Monetization https://developer.android.com/distribute/play-billing
Play Integrity https://developer.android.com/google/play/integrity
Play Policies https://developer.android.com/distribute/play-policies
Play Programs ↗️ https://play.google.com/console/about/programs
Overview https://developer.android.com/games
Play Asset Delivery https://developer.android.com/guide/playcore/asset-delivery
Play Games Services https://developer.android.com/games/pgs/overview
Play Games on PC https://developer.android.com/games/playgames/overview
Level Up guidelines https://developer.android.com/games/guidelines
All Play guides ⤵️ https://developer.android.com/distribute
Play Feature Delivery https://developer.android.com/guide/playcore/feature-delivery
Play In-app Updates https://developer.android.com/guide/playcore/in-app-updates
Play In-app Reviews https://developer.android.com/guide/playcore/in-app-review
Play Install Referrer https://developer.android.com/google/play/installreferrer
Google Play services ↗️ https://developers.google.com/android/reference/packages
Google Play SDK index ↗️ https://play.google.com/sdks
All Play libraries ⤵️ https://developer.android.com/distribute
Android App Bundles https://developer.android.com/guide/app-bundle
Brand & marketing https://developer.android.com/distribute/marketing-tools
Play Console APIs ↗️ https://developers.google.com/android-publisher/api-ref/rest
Blog https://developer.android.com/blog
Read the latest https://developer.android.com/blog/latest
Explore the authors → https://developer.android.com/blog/authors
Case Studies Real-world results from real-world users. Explore how different teams use our tools to achieve their goals. https://developer.android.com/blog/categories/case-studies
Events & Programs Get the details on upcoming webinars, workshops, meetups, and special initiatives designed to help you grow. https://developer.android.com/blog/categories/events-and-programs
Product News Stay in the loop with the latest updates, feature releases, and behind-the-scenes looks at how we’re evolving. https://developer.android.com/blog/categories/product-news
Community Discover stories from our users, spotlight features, and the collaborative projects that bring us all together. https://developer.android.com/blog/categories/community
How-tos From quick tips to deep-dive tutorials, these step-by-step guides are designed to help you work smarter and faster. https://developer.android.com/blog/categories/how-tos
Android Studio https://developer.android.com/studio
Develop https://developer.android.com/develop
Core areas https://developer.android.com/develop/core-areas
App data and files https://developer.android.com/training/data-storage
http://developer.android.com/
Essentials http://developer.android.com/get-started
Design & Plan http://developer.android.com/design
Develop http://developer.android.com/develop
Google Play http://developer.android.com/distribute
Blog http://developer.android.com/blog
Android Studio http://developer.android.com/studio
All core areas ⍈http://developer.android.com/develop/core-areas
About storing app data and fileshttp://developer.android.com/training/data-storage
Save to app-specific storagehttp://developer.android.com/training/data-storage/app-specific
About shared storagehttp://developer.android.com/training/data-storage/shared
Mediahttp://developer.android.com/training/data-storage/shared/media
Photo picker overviewhttp://developer.android.com/training/data-storage/shared/photo-picker
Embedded photo pickerhttp://developer.android.com/training/data-storage/shared/photo-picker/embedded
Documents and other fileshttp://developer.android.com/training/data-storage/shared/documents-files
Datasetshttp://developer.android.com/training/data-storage/shared/datasets
Manage all files on a storage devicehttp://developer.android.com/training/data-storage/manage-all-files
Save key-value datahttp://developer.android.com/training/data-storage/shared-preferences
About the local databasehttp://developer.android.com/training/data-storage/room
Define data using entitieshttp://developer.android.com/training/data-storage/room/defining-data
Access data using DAOshttp://developer.android.com/training/data-storage/room/accessing-data
Choose relationships between objectshttp://developer.android.com/training/data-storage/room/relationships
One-to-one relationshipshttp://developer.android.com/training/data-storage/room/relationships/one-to-one
One-to-many relationshipshttp://developer.android.com/training/data-storage/room/relationships/one-to-many
Many-to-many relationshipshttp://developer.android.com/training/data-storage/room/relationships/many-to-many
Nested relationshipshttp://developer.android.com/training/data-storage/room/relationships/nested
Write asynchronous DAO querieshttp://developer.android.com/training/data-storage/room/async-queries
Create views into a databasehttp://developer.android.com/training/data-storage/room/creating-views
Prepopulate your databasehttp://developer.android.com/training/data-storage/room/prepopulate
Migrate your databasehttp://developer.android.com/training/data-storage/room/migrating-db-versions
Test and debug your databasehttp://developer.android.com/training/data-storage/room/testing-db
Reference complex datahttp://developer.android.com/training/data-storage/room/referencing-data
Migrate from SQLite to Roomhttp://developer.android.com/training/data-storage/room/sqlite-room-migration
Save data using SQLitehttp://developer.android.com/training/data-storage/sqlite
Storage use cases and best practiceshttp://developer.android.com/training/data-storage/use-cases
About sharing datahttp://developer.android.com/training/sharing
Sending simple data to other appshttp://developer.android.com/training/sharing/send
Receiving simple data from other appshttp://developer.android.com/training/sharing/receive
Provide Direct Share targetshttp://developer.android.com/training/sharing/direct-share-targets
About sharing fileshttp://developer.android.com/training/secure-file-sharing
Setting up file sharinghttp://developer.android.com/training/secure-file-sharing/setup-sharing
Sharing a filehttp://developer.android.com/training/secure-file-sharing/share-file
Requesting a shared filehttp://developer.android.com/training/secure-file-sharing/request-file
Retrieving file informationhttp://developer.android.com/training/secure-file-sharing/retrieve-info
About printinghttp://developer.android.com/training/printing
Printing photoshttp://developer.android.com/training/printing/photos
Printing HTML documentshttp://developer.android.com/training/printing/html-docs
Printing custom documentshttp://developer.android.com/training/printing/custom-docs
About content providershttp://developer.android.com/guide/topics/providers/content-providers
Content provider basicshttp://developer.android.com/guide/topics/providers/content-provider-basics
Creating a content providerhttp://developer.android.com/guide/topics/providers/content-provider-creating
Open files using storage access frameworkhttp://developer.android.com/guide/topics/providers/document-provider
Create a custom document providerhttp://developer.android.com/guide/topics/providers/create-document-provider
Create a cloud media providerhttp://developer.android.com/guide/topics/providers/cloud-media-provider
App install locationhttp://developer.android.com/guide/topics/data/install-location
Get started http://developer.android.com/ai
Hello, world! http://developer.android.com/get-started/overview
Developer Verification http://developer.android.com/developer-verification
Adaptive apps http://developer.android.com/adaptive-apps
Compose for UI http://developer.android.com/compose
AI-powered IDE http://developer.android.com/studio
Training http://developer.android.com/courses
Monetization with Play ↗️ https://play.google.com/console/about/guides/play-commerce/
Phones, tablets, foldables http://developer.android.com/phones-tablets-foldables
Android for Cars http://developer.android.com/cars
Android TV http://developer.android.com/tv
Android XR http://developer.android.com/xr
Googlebook http://developer.android.com/googlebook
ChromeOS http://developer.android.com/chrome-os
Wear OS http://developer.android.com/wear
Games http://developer.android.com/games
Camera & media http://developer.android.com/media
Social & messaging http://developer.android.com/social-and-messaging
Health & fitness http://developer.android.com/health-and-fitness
Productivity http://developer.android.com/productivity
Enterprise apps http://developer.android.com/work/overview
Latest updates http://developer.android.com/latest-updates
Experimental updates http://developer.android.com/latest-updates/experimental
Android Studio preview http://developer.android.com/studio/preview
Jetpack & Compose libraries http://developer.android.com/jetpack/androidx/versions
Wear OS releases http://developer.android.com/training/wearables/versions/latest
Privacy Sandbox ↗️ http://developer.android.com/design-for-safety/privacy-sandbox
Learn more http://developer.android.com/quality/excellent
Design for Android http://developer.android.com/design/ui
Mobile http://developer.android.com/design/ui/mobile
Desktop experiences http://developer.android.com/design/ui/desktop
XR Headsets & XR Glasses http://developer.android.com/design/ui/xr
AI Glasses http://developer.android.com/design/ui/ai-glasses
Widgets http://developer.android.com/design/ui/widget
Wear OS http://developer.android.com/design/ui/wear
Android TV http://developer.android.com/design/ui/tv
Android for Cars http://developer.android.com/design/ui/cars
Introduction http://developer.android.com/topic/architecture/intro
Libraries http://developer.android.com/topic/libraries/view-binding
Navigation http://developer.android.com/guide/navigation/navigation-principles
Modularization http://developer.android.com/topic/modularization
Testing http://developer.android.com/training/testing/fundamentals
Kotlin Multiplatform http://developer.android.com/kotlin/multiplatform
Overview http://developer.android.com/quality
Core value http://developer.android.com/quality/core-value
User experience http://developer.android.com/quality/user-experience
Accessibility http://developer.android.com/guide/topics/ui/accessibility
Technical quality http://developer.android.com/quality/technical
Excellent Experiences http://developer.android.com/quality/excellent
Overview http://developer.android.com/security
Privacy http://developer.android.com/privacy
Permissions http://developer.android.com/privacy#app-permissions
Identity http://developer.android.com/identity
Fraud prevention http://developer.android.com/security/fraud-prevention
Learn more http://developer.android.com/gemini-in-android
Get Android Studio http://developer.android.com/studio
Samples http://developer.android.com/samples
Multidevice support http://developer.android.com/multidevice
User interfaces http://developer.android.com/develop/ui
Background work http://developer.android.com/develop/background-work
Data and files http://developer.android.com/guide/topics/data
Connectivity http://developer.android.com/develop/connectivity
All core areas ⤵️ http://developer.android.com/develop#core-areas
Write and debug code http://developer.android.com/studio/write
Build projects http://developer.android.com/build/gradle-build-overview
Test your app http://developer.android.com/training/testing
Performance http://developer.android.com/topic/performance/overview
Command-line tools http://developer.android.com/tools
Gradle plugin API http://developer.android.com/reference/tools/gradle-api
Android Bench http://developer.android.com/bench
Phones, tablets, foldables http://developer.android.com/phones-tablets-foldables
ChromeOS http://developer.android.com/chrome-os
Android for Cars http://developer.android.com/training/cars
Android TV http://developer.android.com/training/tv
Android XR http://developer.android.com/develop/xr
Wear OS http://developer.android.com/training/wearables
Android Health http://developer.android.com/health-and-fitness/guides
Better Together http://developer.android.com/develop/better-together
All devices ⤵️ http://developer.android.com/develop#devices
Android platform http://developer.android.com/reference/packages
Jetpack libraries http://developer.android.com/jetpack/androidx/explorer
Compose libraries http://developer.android.com/jetpack/androidx/releases/compose
Google Play services ↗️ https://developers.google.com/android/reference/packages
Google Play SDK index ↗️ https://play.google.com/sdks
Go to Play Console https://play.google.com/console
Learn more ↗️ https://play.google.com/console/about/
Play Monetization http://developer.android.com/distribute/play-billing
Play Integrity http://developer.android.com/google/play/integrity
Play Policies http://developer.android.com/distribute/play-policies
Play Programs ↗️ https://play.google.com/console/about/programs
Overview http://developer.android.com/games
Play Asset Delivery http://developer.android.com/guide/playcore/asset-delivery
Play Games Services http://developer.android.com/games/pgs/overview
Play Games on PC http://developer.android.com/games/playgames/overview
Level Up guidelines http://developer.android.com/games/guidelines
All Play guides ⤵️ http://developer.android.com/distribute
Play Feature Delivery http://developer.android.com/guide/playcore/feature-delivery
Play In-app Updates http://developer.android.com/guide/playcore/in-app-updates
Play In-app Reviews http://developer.android.com/guide/playcore/in-app-review
Play Install Referrer http://developer.android.com/google/play/installreferrer
Google Play services ↗️ https://developers.google.com/android/reference/packages
Google Play SDK index ↗️ https://play.google.com/sdks
All Play libraries ⤵️ http://developer.android.com/distribute
Android App Bundles http://developer.android.com/guide/app-bundle
Brand & marketing http://developer.android.com/distribute/marketing-tools
Play Console APIs ↗️ https://developers.google.com/android-publisher/api-ref/rest
Read the latest http://developer.android.com/blog/latest
Explore the authors → http://developer.android.com/blog/authors
Case Studies http://developer.android.com/blog/categories/case-studies
Events & Programs http://developer.android.com/blog/categories/events-and-programs
Product News http://developer.android.com/blog/categories/product-news
Community http://developer.android.com/blog/categories/community
How-tos http://developer.android.com/blog/categories/how-tos
Android Developers https://developer.android.com/
Develop https://developer.android.com/develop
Core areas https://developer.android.com/develop/core-areas
App data and files https://developer.android.com/training/data-storage
App-specific fileshttp://developer.android.com/training/data-storage/app-specific
Mediahttp://developer.android.com/training/data-storage/shared/media
Documents and other fileshttp://developer.android.com/training/data-storage/shared/documents-files
App preferenceshttp://developer.android.com/training/data-storage/shared-preferences
Jetpack Preferenceshttp://developer.android.com/guide/topics/ui/settings/use-saved-values
Roomhttp://developer.android.com/training/data-storage/room
READ_EXTERNAL_STORAGEhttp://developer.android.com/reference/android/Manifest.permission#READ_EXTERNAL_STORAGE
WRITE_EXTERNAL_STORAGEhttp://developer.android.com/reference/android/Manifest.permission#WRITE_EXTERNAL_STORAGE
MANAGE_EXTERNAL_STORAGEhttp://developer.android.com/reference/android/Manifest.permission#MANAGE_EXTERNAL_STORAGE
app-specific directorieshttp://developer.android.com/training/data-storage/app-specific#external
manage all fileshttp://developer.android.com/training/data-storage/manage-all-files
app-specific directoryhttp://developer.android.com/training/data-storage/app-specific
MediaStorehttp://developer.android.com/reference/android/provider/MediaStore
app-specific directory on external storagehttp://developer.android.com/training/data-storage/app-specific#external
storage use cases and best practiceshttp://developer.android.com/training/data-storage/use-cases
file a feature requesthttps://source.android.com/setup/contribute/report-bugs
temporarily opt-out of using scoped storagehttp://developer.android.com/training/data-storage/use-cases#opt-out-scoped-storage
Device File Explorerhttp://developer.android.com/studio/debug/device-file-explorer
Preparing for Scoped Storage (Android Dev Summit '19)https://www.youtube.com/watch?v=UnJ3amzJM94
Content Licensehttp://developer.android.com/license
X http://x.com/AndroidDev
YouTube http://www.youtube.com/user/androiddevelopers
LinkedIn http://www.linkedin.com/showcase/androiddev
Android http://www.android.com
Android for Enterprise http://www.android.com/enterprise/
Security http://www.android.com/security-center/
Source http://source.android.com
News http://developer.android.com/news
Blog http://android-developers.googleblog.com/
Podcasts http://developer.android.com/podcasts
Gaming http://developer.android.com/games
Machine Learning http://developer.android.com/ml
Health & Fitness http://developer.android.com/health-and-fitness
Camera & Media http://developer.android.com/media
Privacy http://developer.android.com/privacy
5G http://developer.android.com/training/connectivity/5g
Large screens http://developer.android.com/large-screens
Wear OS http://developer.android.com/wear
ChromeOS devices http://developer.android.com/chrome-os
Android for cars http://developer.android.com/cars
Android TV http://developer.android.com/tv
Android 17 http://developer.android.com/about/versions/17
Android 16 http://developer.android.com/about/versions/16
Android 15 http://developer.android.com/about/versions/15
Android 14 http://developer.android.com/about/versions/14
Android 13 http://developer.android.com/about/versions/13
Android 12 http://developer.android.com/about/versions/12
Android 11 http://developer.android.com/about/versions/11
Android Studio guide http://developer.android.com/studio/intro
Developers guides http://developer.android.com/guide
API reference http://developer.android.com/reference
Download Studio http://developer.android.com/studio
Android NDK http://developer.android.com/ndk
Report platform bug http://issuetracker.google.com/issues/new?component=190923&template=841312
Report documentation bug http://issuetracker.google.com/issues/new?component=192697
Google Play support http://support.google.com/googleplay/android-developer
Join research studies https://g.co/userresearch/androiddeveloperfooter
https://developers.google.com/
Android http://developer.android.com
Chrome http://developer.chrome.com/home
Firebase http://firebase.google.com
Google Cloud Platform http://cloud.google.com
All products http://developers.google.com/products/
Privacy http://policies.google.com/privacy
License http://developer.android.com/license
Brand guidelines http://developer.android.com/distribute/marketing-tools/brand-guidelines
Manage cookies http://developer.android.com/guide/topics/data
Subscribe http://developer.android.com/updates

Viewport: width=device-width, initial-scale=1


URLs of crawlers that visited me.