Errata: Professional Android 2 Application Development Reto Meier
Posted on September 29, 2010
Page 108 has an issue where a Resources object is called though has not been instantiated yet. Just move the Resources instantiation further up the chain in the initCompassView() method.
protecteded void initCompassView() { setFocusable(true); Resources r = this.getResources(); // Removed for brevity } |
Oh yeah, the Wrox errata form totally sucks. It wants me to create a user and fill out a large form. Otherwise I would have let them know.

Leave A Comment