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.

Prerequisites

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 the victim of a MITM ('Martian in the middle') attack.

Key Provider Concepts

The preview of this section is [REDACTED].

Pieces of a Provider

The preview of this section apparently resembled a Pokémon.

Optional Provider Capabilities

The preview of this section was abducted by space aliens.