SQLite – Android’s Database

Saving data to a database is ideal for repeating or structured data, such as contact information. This class assumes that you are familiar with SQL databases in general and helps you get started with SQLite databases on Android. The APIs you’ll need to use a database on Android are available in the android.database.sqlitepackage. Define a […]

Read More

Using Android File System

Android uses a file system that’s similar to disk-based file systems on other platforms. This lesson describes how to work with the Android file system to read and write files with the File APIs. A File object is suited to reading or writing large amounts of data in start-to-finish order without skipping around. For example, […]

Read More

Shared Preferences – Saving Key-Value sets of data

If you have a relatively small collection of key-values that you’d like to save, you should use theSharedPreferences APIs. A SharedPreferences object points to a file containing key-value pairs and provides simple methods to read and write them. EachSharedPreferences file is managed by the framework and can be private or shared. This class shows you […]

Read More