Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Android 4 Application Development
This is the forum to discuss the Wrox book Professional Android 4 Application Development Reto Meier; ISBN: 978-1-1181-0227-5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android 4 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old April 13th, 2012, 11:10 AM
Registered User
Points: 19, Level: 1
Points: 19, Level: 1 Points: 19, Level: 1 Points: 19, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default HelloWorldSample from Android 2

Just want to know if this is fixed in Android 4 book

The HelloWorld Sample portion from Android 2 code sample had a portion where the layout is set in code not in the XML. When it is compiled there are messages like

"LinearLayout cannot be resolved to a type"

Looks like there is a using missing etc. Is this resolved in the new book?
Reply With Quote
  #2 (permalink)  
Old April 14th, 2012, 09:27 PM
Reto's Avatar
Wrox Author
Points: 287, Level: 5
Points: 287, Level: 5 Points: 287, Level: 5 Points: 287, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2008
Location: London, United Kingdom
Posts: 61
Thanks: 1
Thanked 7 Times in 6 Posts
Default

I purposefully left the import statements from many of the code snippets in both editions in order to make them a little more concise.

From the intro:
Quote:
To keep the code samples reasonably concise, I have not always included every import statement required in the code samples within the book. However the downloadable code samples do include all the required import statements. Additionally, if you are developing using Eclipse, you can use the keyboard shortcut Ctrl+Shift+O (Cmd+Shift+O) to insert the required import statements automatically.
You can download the code samples for this new edition, which are included within full projects, and have all the necessary import statements included within them.

Hopefully that makes them easier to understand and use than in the previous edition.
__________________
Reto Meier

Author, "Professional Android 4 Application Development", Wrox, ©2012, 2010, 2008
@retomeier
Reply With Quote
Reply


Thread Tools
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
Android on iPhone yazi BOOK: Beginning iPhone SDK Programming with Objective-C 1 December 14th, 2011 07:46 PM
android and internet daniel.hlima BOOK: Professional Android 2 Application Development 0 April 18th, 2011 05:05 PM
Cryptography and Android jhwong56 BOOK: Beginning Cryptography with Java 2 April 12th, 2011 09:10 PM
Android SDK/Android.bat does not find SWT.jar file chaoticandroid BOOK: Professional Android 2 Application Development 1 March 23rd, 2011 06:39 PM
i am new to android janardhan BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 2 July 29th, 2010 03:37 PM



All times are GMT -4. The time now is 05:39 PM.


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