11. Data Storage Methods
Complicated and robust Android applications often need to use some type of data storage. Depending on the situation, different data storage methods are available to the developer:
SharedPreferences
for lightweight usage, such as saving application settings and the UI state
A built-in SQLite database for more complicated usage, such as saving application records
The standard Java flat file storage methods: InputFileStream ...
Get The Android™ Developer’s Cookbook: Building Applications with the Android SDK, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.