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.

Dialogs and DialogFragments

Generally speaking, modal dialogs are considered to offer poor UX, particularly on mobile devices. You want to give the user more choices, not fewer, and so locking them into “deal with this dialog right now, or else” is not especially friendly. That being said, from time to time, there will be cases where that sort of modal interface is necessary, and to help with that, Android does have a dialog framework that you can use.


Understanding this chapter requires that you have read the core chapters of this book.

DatePickerDialog and TimePickerDialog

The preview of this section is presently indisposed.


The preview of this section will not appear here for a while, due to a time machine mishap.


The preview of this section is out seeking fame and fortune as the Dread Pirate Roberts.

DialogFragment: The Other Flavor

The preview of this section is [REDACTED].

Dialogs: Modal, Not Blocking

The preview of this section was stepped on by Godzilla.