Errata: Professional Android 2 Application Development Reto Meier

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() {
  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.