Topic: Mobile

Professional Android Application Development (0470344717) cover image

Professional Android Application Development

Reto Meier
ISBN: 978-0-470-34471-2
Paperback
432 pages
November 2008
This title is out-of-print and not currently available for purchase from this site.

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
40 Error in Code
There is a line of code missing for Steps 6-8. The highlighted line should be inserted as follows in each step:

public void onCreate(Bundle icicle) {
super.onCreate(icicle);

// Inflate your View
4/27/09
65 Error in Code
In the first snippet, the final (shaded) line should read:

android:configChanges="orientation|keyboardHidden"
4/27/09
96 Error in Code
In the last shaded section, the second line should read:

circlePaint.setColor(r.getColor(R.color.background_color);



And the following line should be moved from its current location to become the first line in the highlighted section:

Resources r = this.getResources();
4/27/09
155 Typo in Code
In final code sample:

Mangitude

Should be:

Magnitude
4/27/09
203 Error in Code
if( dbCount > 0 ) {

Should be:

if( dbCount == 0) {
7/1/09