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.


Appendix C: Community Theater and the Appinars

In addition to the book chapters themselves and the related source code for the sample apps, you also have access to “appinars”. Appinars are app-based training, blending video, slides with voiceovers, source code samples, and more.

The APK edition of the book has an embedded appinar player, called Community Theater, along with an embedded roster of available appinars. You can browse through those appinars, download the ones of interest, and play them through Community Theater.

Note that this feature is only available if you are using the APK edition on Android 4.4 or higher.

Viewing the Appinar Roster

In the main book reader, the action bar overflow has a “Community Theater” option:

Book Reader, Showing Overflow
Figure 1134: Book Reader, Showing Overflow

Tapping that will bring up a roster of available appinars, broken down into categories:

Appinar Roster, Showing Categories and Appinars
Figure 1135: Appinar Roster, Showing Categories and Appinars

Tapping an appinar brings up details for that appinar:

Appinar Roster, Showing Appinar Details
Figure 1136: Appinar Roster, Showing Appinar Details

New appinars will be added with each book update. Existing appinars might be updated to reflect new content or to fix egregious bugs.

Managing Appinars

Tapping the “download” action bar item will download the appinar to your machine. The approximate amount of data to be downloaded, in the form of a ZIP file, is shown above the button.

While the download is going on, an progress bar will be visible in the appinar detail screen, as well as in a notification:

Appinar Roster, While Appinar is Downloading
Figure 1137: Appinar Roster, While Appinar is Downloading

Once the appinar is downloaded, the action bar will have options to play or delete the appinar:

Appinar Roster, Showing Downloaded Appinar
Figure 1138: Appinar Roster, Showing Downloaded Appinar

Tapping the delete action bar item will bring up a confirmation panel:

Appinar Roster, Showing Delete Confirmation
Figure 1139: Appinar Roster, Showing Delete Confirmation

If you confirm the request, the appinar will be deleted.

Viewing an Appinar

The preview of this section was accidentally identified as an Android 'tasty treat' by the Cookie Monster.