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 A: CWAC Libraries

CommonsWare — the publisher of this book — has also published a series of open source libraries, collectively named the CommonsWare Android Components (CWAC). If you have read through the book, you will have seen many of these libraries.

This appendix lists all of the CWAC libraries. If the library is covered elsewhere in the book, the appendix links you to that coverage. Those that are not covered elsewhere will be described in this appendix, to accompany the online documentation found at the library’s GitHub repository.

cwac-adapter

The cwac-adapter repository contains a small AdapterWrapper class that wraps a ListAdapter. The default implementation of all AdapterWrapper methods is to forward the request along to the wrapped ListAdapter. However, you can subclass AdapterWrapper to override that behavior.

cwac-colormixer

The cwac-colormixer repository holds a custom ColorMixer View, along with wrappers for using that View as a dialog, activity, or preference for use with PreferenceScreen.

ColorMixerDialog and ColorPreference are covered in the chapter on custom dialogs. The ColorMixer widget is similar to the implementation found in the chapter on custom views.

This library also contains a ColorMixerActivity, which you can use via startActivityForResult() to obtain a color, rather than by integrating the widget, dialog, or preference.

cwac-crossport

The preview of this section is in an invisible, microscopic font.

cwac-document

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

cwac-layouts

The preview of this section was the victim of a MITM ('Martian in the middle') attack.

cwac-merge

The preview of this section was fed to a gremlin, after midnight.

cwac-netsecurity

The preview of this section is presently indisposed.

cwac-presentation

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

cwac-provider

The preview of this section was whisked away by a shark-infested tornado.

cwac-sacklist

The preview of this section was whisked away by a shark-infested tornado.

cwac-saferoom

The preview of this section was whisked away by a shark-infested tornado.

cwac-security

The preview of this section is [REDACTED].

cwac-strictmodeex

The preview of this section is in an invisible, microscopic font.

cwac-wakeful

The preview of this section was abducted by space aliens.