The following is the first few sections of a chapter from The Busy Coder's Guide to Android Development, plus headings for the remaining major sections, to give you an idea about the content of the chapter.

Providing Documents

The Storage Access Framework gives developers access to ACTION_OPEN_DOCUMENT and related Intent actions to perform operations on a document provider.

However, what if you want to be a document provider?

To do that, you will need to create a subclass of DocumentsProvider, override some abstract methods, and perhaps put up with some really obtuse error messages.

This chapter will help you in setting up your DocumentsProvider. With luck, you will escape without encountering errors.


This chapter assumes that you have read the preceding chapter on consuming documents, along with its prerequisites.

Have Your Content, and Provide it Too

The preview of this section was stepped on by Godzilla.

Key Provider Concepts

The preview of this section is sleeping in.

Pieces of a Provider

The preview of this section is [REDACTED].

Optional Provider Capabilities

The preview of this section took that left turn at Albuquerque.