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 will not appear here for a while, due to a time machine mishap.

cwac-document

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

cwac-layouts

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

cwac-merge

The preview of this section is [REDACTED].

cwac-netsecurity

The preview of this section is off trying to sweet-talk the Khaleesi into providing us with a dragon.

cwac-pager

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

cwac-presentation

The preview of this section is [REDACTED].

cwac-provider

The preview of this section is sleeping in.

cwac-richedit

The preview of this section was lost in the sofa cushions.

cwac-sacklist

The preview of this section was traded for a bag of magic beans.

cwac-saferoom

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

cwac-security

The preview of this section is being chased by zombies.

cwac-strictmodeex

The preview of this section is [REDACTED].

cwac-wakeful

The preview of this section left for Hollywood to appear in a reality TV show.