Saving Data in Android

Most Android apps need to save data, even if only to save information about the app state during onPause() so the user's progress is not lost. Most non-trivial apps also need to save user settings, and some apps must manage large amounts of information in files and databases. This class introduces you to the principal data storage options in Android, including:
  • Saving key-value pairs of simple data types in a shared preferences file
  • Saving arbitrary files in Android's file system
  • Using databases managed by SQLite
Source: blog

Comments :

Post a Comment