O'Reilly logo

Pro Android Media: Developing Graphics, Music, Video, and Rich Media Apps for Smartphones and Tablets by Shawn Van Every

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Image Storage and Metadata

Android has a standard way to share data across applications. The classes responsible for this are called content providers. Content providers offer a standard interface for the storage and retrieval of various types of data.

The standard content provider for images (as well as audio and video) is the MediaStore. The MediaStore allows the setting of the file in a standard location on the device and has facilities for storing and retrieving metadata about that file. Metadata is data about data; it could include information about the data in the file itself, such as its size and name, but the MediaStore also allows setting for a wide variety of additional data, such as title, description, latitude, and longitude.

To start ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required