Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Mobile Development > BOOK: Professional Android 2 Application Development
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Professional Android 2 Application Development
This is the forum to discuss the Wrox book Professional Android 2 Application Development, 2nd Edition by Reto Meier; ISBN: 978-0-470-56552-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android 2 Application Development section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 29th, 2010, 01:45 PM
Registered User
Join Date: Nov 2010
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default outdated code example, chapter 5

Hello everybody,

first of all I want to say, that I really like that book. I take it with me where ever I go. There could be every time a chance to have some free time to take a look inside, in the tram, in the breaks between the lectures I am a Java beginner and so a beginner in Android programming too. At the time I am trying to write a app for an university project, which consists of an Android application, that can do some signal processing, basically it should just show the spectrogram of the signal it gets from the mic. I didn't write much code yet (don't know where to start). But I hope with the help of this book, I can get a good insight into this field.

Why I am writing here?
Beside reading the book I try the examples...
I am using the newest SDK version, means programming for version 8.
Seems that there is some outdated code in chapter 5, the example called "Select Contact". It's working fine, of course.
But just for information, I changed the code in the "ContentPicker.java" from
import android.provider.Contacts.People;
String[] from = new String[] {People.NAME};
import android.provider.ContactsContract.Contacts;
String[] from = new String[] {Contacts.DISPLAY_NAME};
to use the since API level 5 existing "ContactsContract".

The program is working like before, so seems to be correct.
As I said, just for your information and I wanted to write into this forum anyways

greeting from germany
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outdated skalrynd BOOK: Facebook Application Development ISBN: 978-0-470-24666-5 5 April 21st, 2010 01:02 PM
'crviewer9.dll may be outdated' error HugoSousa Crystal Reports 1 February 26th, 2009 07:39 AM
COM Outdated? bluethecow General .NET 2 November 3rd, 2006 02:48 AM
Newbie... outdated book.. advice apprciated! mysticpain Beginning PHP 1 September 2nd, 2006 10:06 AM
Outdated: VB code version link - Thanks MythicalMe jminatel BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 11 August 14th, 2006 08:25 AM

All times are GMT -4. The time now is 12:53 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.