Android Data storage

Source: Internet
Author: User

Android provides three ways to store data, respectively:1. File Storage-- file storage data uses IO operations in Java to save and read files 2.SharedPreferences Storage-sharedpreferences can access simple data 3.Sqlite Storage--sqlite is an Android built-in lightweight databaseHere are three chapters that describe the three ways to store each one . Android Data Storage--file storage
android data storage--sharedpreferences Storage

Tips: Many articles think that there are 5 kinds of data stored on Android, except for the three kinds of things I say, more storing data using ContentProvider Networked Storage Databut I think ContentProvider is just exposing the internal data to the outside world rather than a new way of storing it, and networked storage is more of a way to get data than to store it, so it shouldn't be considered one of the ways to store data.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.