How To Explore Local Data Storage Options In Android Sdk


show more Exploring local data storage options provides you with in-depth training on Developer. Taught by David Gassner as part of the Android SDK: Local Data Storage show less
please wait ...

Exploring local data storage options

The Android SDK includes many options for storing data locally with an Android app. All of these options give you the ability to persist information between application launches or between device sessions--that is after a device is shutdown and then restarted--because in all of the options that I'm going to describe, you'll be saving files to local flash memory or other persistent media. Here are the three major options for local data storage: shared preferences, arbitrary files that you simply create and save to disk, or SQLite relational databases.

Here is a little bit more detail about each of the options. A shared preference is simply a key-value pair, a key, which is a string, and then a value, which can be one of many data types. It's up to you as the Android application developer or designer to decide what preferences are needed for your application. Typically, a preference is used either to present specific information to the user or to determine the behavior or appea...

Exploring local data storage options
Video duration: 5m 58s 3h 41m Intermediate

Viewers:

Exploring local data storage options provides you with in-depth training on Developer. Taught by David Gassner as part of the Android SDK: Local Data Storage

Subject:
Developer
Software:
Android Java
Author:
please wait ...