Android storage can be divided into two types, internal storage and external storage. This article will introduce both internal and external storage and how to use them to save files in your android application.
This article contains example about how to create SQLite database, how to create table and how to insert, update, delete, query SQLite table. You can read article Android SQLite Database Introduction for general SQLite concepts.
Android use SQLite as it’s default built-in database. SQLite is a light weight relational database. The database operation speed is very fast and it occupied disk space is small. Usually it only need some hundred KB disk space to run.
Android SharedPreferences can be used to store primitive java type data such as int, long, float, boolean, String etc. It can also be used to save or load custom java objects. This article will show you how to do that.
Android SharedPreferences use key value pair to store data. This is a more easier way for data storage operation in android. You do not need to care about file operation. You just need to get the SharedPreferences object, give it a key and related value. Then invoke SharedPreferences object’s apply() or commit() method. Then android OS will …
Android data can be saved in internal storage ( ROM ) , external storage(SD card), shared preferences or SQLite database. This article will introduce how to read and write data in internal storage via java file.