Learn Java for Android Development [NOOK Book]

Overview



Android development is hot, and many programmers are interested in joining the fun. However, because this technology is based on Java, you should first obtain a solid grasp of the Java language and its foundational APIs to improve your chances of succeeding as an Android app developer. After all, you will be busy learning the architecture of an Android app, the various Android-specific APIs, and Android-specific tools. If you do not already know Java fundamentals, you will probably end up with a massive ...

See more details below
Learn Java for Android Development

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study

Want a NOOK? Explore Now

NOOK Book (eBook)
$19.99
BN.com price
(Save 44%)$35.99 List Price

Overview



Android development is hot, and many programmers are interested in joining the fun. However, because this technology is based on Java, you should first obtain a solid grasp of the Java language and its foundational APIs to improve your chances of succeeding as an Android app developer. After all, you will be busy learning the architecture of an Android app, the various Android-specific APIs, and Android-specific tools. If you do not already know Java fundamentals, you will probably end up with a massive headache from also having to quickly cram those fundamentals into your knowledge base. 





Learn Java for Android Development, Second Edition teaches programmers of any skill level the essential Java language and foundational Java API skills that must be learned to improve the programmer’s chances of succeeding as an Android app developer. Each of the book’s 14 chapters provides an exercise section that gives you the opportunity to reinforce your understanding of the chapter’s material. Answers to the book’s more than 500 exercises are provided in an appendix. A second appendix provides a significant game-oriented Java application, which you can convert into an Android app.





Once you complete this book, you should be ready to dive into beginning Android app development.  Maybe, start that journey with Apress' Beginning Android.



What you’ll learn


  • The Java language:  This book provides complete coverage of nearly every pre-Java version 7 language feature (native methods are briefly mentioned but not formally covered). Starting with basic language features (e.g., comments, types, expressions, and statements), you progress to those features related to classes and objects, followed by object-oriented features related to inheritance, polymorphism, and interfaces. You then explore the advanced language features for nested types, packages, static imports, exceptions, assertions, annotations, generics, and enums. Continuing, you investigate strictfp, synchronized, volatile, the enhanced for loop statement, autoboxing/unboxing, and transient fields.


  • Java APIs:  In addition to Object and APIs related to exceptions, you explore Math, StrictMath, BigDecimal, BigInteger, String, StringBuffer/StringBuilder, Boolean, Character, Byte, Short, Integer, Long, Float, Double, Number, the Threads API, System, Runtime, Process, the Collections Framework, the Concurrency Utilities, Date, Formatter, Random, Scanner, the ZIP and JAR APIs, File, RandomAccessFile, stream classes, and writer/reader classes, InetAddress, SocketOptions, Socket, ServerSocket, DatagramSocket, MulticastSocket, URL, URLConnection, URLEncoder, URLDecoder, NetWorkInterface, InterfaceAddress, CookieHandler, CookieManager, CookieStore, CookiePolicy, Buffer, ByteBuffer, CharBuffer, DoubleBuffer,FloatBuffer, IntBuffer, LongBuffer, ShortBuffer, MappedByteBuffer, Channel, WritableByteChannel, ReadableByteChannel,ScatteringByteChannel, GatheringByteChannel, FileChannel, the Regular Expressions API, JDBC, and more.


  • Applying these:  You will learn how to use the JDK’s javac (compiler), java (application launcher), javadoc (Java documentation generator), and jar (Java archive creator, updater, and extractor) tools. You will also receive an introduction to the Eclipse integrated development environment, which is the official standard for developing Android apps.




Who this book is for


This book is for any programmer - including existing Java programmers and Objective-C-based iPhone and iPad programmers - of any skill level who needs to obtain a solid understanding of the Java language and foundational Java APIs before jumping into Android app development.



Table of Contents1. Getting Started with Java


2. Learning Language Fundamentals


3. Discovering Classes and Objects


4. Discovering Inheritance, Polymorphism, and Interfaces


5. Mastering Advanced Language Features Part 1


6. Mastering Advanced Language Features Part 2


7. Exploring the Basic APIs Part 1


8. Exploring the Basic APIs Part 2


9. Exploring the Collections Framework


10. Exploring Additional Utility APIs


11. Performing Classic I/O


12. Accessing Networks


13. Migrating to New I/O


14. Accessing Databases


A. Appendix A: Solutions to Exercises


B. Appendix B: Four of a Kind


C. Appendix C: Odds and Ends***








***NOTE:  Appendix C is not included in the physical book. Instead, it's distributed as a PDF file that's bundled with the book's code.  As well as covering updated topics from the previous edition of this book (e.g., References, Reflection, and Preferences), this 138-page appendix includes new content.

Read More Show Less

Product Details

  • ISBN-13: 9781430257233
  • Publisher: Apress
  • Publication date: 2/18/2013
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 2
  • Pages: 780
  • Sales rank: 1,273,537
  • File size: 3 MB

Meet the Author

Jeff Friesen is a freelance tutor and software developer with an emphasis on Java (and now Android). In addition to writing Android Recipes, Jeff has written numerous articles on Java and other technologies for JavaWorld (JavaWorld.com), informIT (InformIT.com), Java.net, and DevSource (DevSource.com). Jeff can be contacted via his website at TutorTutor.ca.
Read More Show Less

Customer Reviews

Average Rating 3.5
( 3 )
Rating Distribution

5 Star

(0)

4 Star

(2)

3 Star

(1)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 3 Customer Reviews
  • Posted December 18, 2010

    A very good Java book

    First let me state that this is a Java book, not specific to Android. It is the first book in Apress's series on Android development, and in that context makes alot of sense. Learn the basics of Java first, then learn the specifics of Android development.

    This book is a very good Java book. The authors depth of knowledge shows in nearly every section. I have been programming in java since its first beta, and found much useful information especially in chapters dealing with newer JDK 5,6, and upcoming concepts.

    A couple of criticisms:
    1. I agree with a previous reviewer about the density. This may be more of an editing issue then the authors issue. For example, I was looking up something about Annotations and a couple of the pages I read did require additional review to fully understand what was being said. On a positive note the material was complete and very useful.

    2. And this may be somewhat of a nit, in a book about learning a new language, the coding style should exemplary. The author does not follow Sun's coding standard of always using {}'s for all 'if', 'for', etc. statements, even if they only contain one statement. By omitting the {}'s for single line 'if' or 'for' statements, it is very easy to introduce a bug, especially if coming from a language like Python where the blocks are defined by the indentation level. In Java, regardless of the indentation, if there are no {}'s then only the next line is part of the 'if' or 'for' construct.


    In conclusion, even as an experienced Java developer, I would recommend this book for both new and experienced Java developers. As it is a new addition to my library, it is a very useful reference for the language.

    6 out of 6 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Posted April 20, 2011

    not for beginner

    This books title is a bit deceiving. Great in-depth book but, surely not for someone new to java.

    1 out of 2 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted December 21, 2010

    No text was provided for this review.

Sort by: Showing all of 3 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)