Errata for The Busy Coder's Guide to Android Development

Note: page numbers refer to the page numbers shown on the bottom of each page in the PDF edition of the book.

Version 6.1 - October 2014

Version 6.0 - September 2014

private View sidebar=null;
private View divider=null;

Version 5.9 - July 2014

Add a ModelFragment data member named mfrag:

private ModelFragment mfrag=null;

Then, modify onCreate() to refer to the mfrag data member, replacing the former mfrag local variable:

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    setContentView(R.layout.main);
    pager=(ViewPager)findViewById(R.id.pager);

    mfrag=(ModelFragment)getFragmentManager().findFragmentByTag(MODEL);

    if (mfrag == null) {
      mfrag=new ModelFragment();
      getFragmentManager().beginTransaction().add(mfrag, MODEL)
                          .commit();
    }
    else if (mfrag.getBook() != null) {
      setupPager(mfrag.getBook());
    }

    getActionBar().setHomeButtonEnabled(true);
  }
private void raiseNotification(Intent inbound, File output,
                                 Exception e) {
  NotificationCompat.Builder b=new NotificationCompat.Builder(this);

Version 5.8 - April 2014

Version 5.7 - March 2014

Version 5.6 - February 2014

Version 5.5 - January 2014

Version 5.4 - December 2013

Version 5.3 - November 2013

Version 5.2 - October 2013

Version 5.1 - September 2013

Version 5.0 - July 2013

Version 4.9 - June 2013

Version 4.8 - May 2013

Version 4.7 - March 2013

Version 4.6 - February 2013

Version 4.5 - January 2013

Version 4.4 - November 2012

Version 4.3 - November 2012

Version 4.2 - September 2012

Version 4.1 - August 2012

Version 4.0 - August 2012

Version 3.8 - July 2012

Version 3.7 (digital) - November 2011

Version 3.6 (digital) - March 2011

Version 3.5 (digital) - February 2011

Version 3.4 (digital) - January 2011

Version 3.3 (digital) - November 2010

Version 3.2 (digital) - October 2010

Version 3.1 (digital) - June 2010

Version 3.0 (digital) - February 2010

Version 2.9 (digital) - January 2010

Version 2.8 (digital) - November 2009

Version 2.1 (digital) - July 2009

Version 2.0 (print) - January 2009

If you are trying to use this book with the Android 1.5 SDK, please be advised that this book was written many months before that SDK's release, and so the technology has shifted. You may wish to trade in your print book for a Warescription, so you can get updates that more closely track Android itself.

Version 2.0 (digital) - January 2009

Version 1.9 - Early December 2008

Plus many others too numerous to mention — just download Version 2.0.2!

Version 1.4 - Early November 2008

Version 1.3 - Late September 2008

Version 1.2 - September 2008

See problem #3 from Version 1.0. Also:

Version 1.1 - August 2008

See problems #1-3 below

Version 1.0 - July 2008

Version 0.9 - June 2008

The Kindle, and to a lesser extent the PDF, have some problems with formatting of source code in the examples. If you cannot read the source code in the ebook, download the source separately. This is also useful if you would like to compile and run any of the samples.