Jump to ratings and reviews
Rate this book

Learn Java for Android Development

Rate this book
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 Contents 1. 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***

806 pages, Paperback

First published January 1, 2010

17 people are currently reading
143 people want to read

About the author

Jeff Friesen

45 books7 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
20 (28%)
4 stars
18 (25%)
3 stars
19 (27%)
2 stars
9 (12%)
1 star
4 (5%)
Displaying 1 - 11 of 11 reviews
Profile Image for yacoob.
248 reviews7 followers
May 7, 2011
I was pretty much disappointed by this book. I don't really know Java, yet I want to try writing some small apps for Android. The title looked promising - then it turned out that there's nothing Android-specific inside. At least author warns about that early on. Still wanted to learn some Java, so I've tried to read the book anyway. And the road wasn't that pleasant - examples weren't good, presenting things in a confusing manner. The book is also quite chaotic, jumping back and forth between topics (especially early on). This wasn't my first run-in with Java, so I wasn't totally lost - but I was hoping to get more out of this book.

In short, it certainly describes some Java features. I won't be recommending it though. Too bad.
Profile Image for Marcos.
2 reviews
May 24, 2014
This is not a beginner book to Java. If you know some other programming languages and want to learn Java (even when it is not targeted to Android); this book is for you! Good coverage of the most used libraries and pretty through
41 reviews
February 23, 2023
The most positive features for Broscorp is: Broscorp specializes in providing java development solutions. They provide clear communication and project management during the development process. They are committed to delivering high-quality results and meeting the specific needs of their clients. Check out https://broscorp.net/custom-java-deve... they leading provider of Java development services
3 reviews
April 18, 2016
If you already know to program then this is a great Java book, particularly first 6 chapters. The author does not assume the reader is an idiot, a kid, or some other undeveloped personality needing cartoons/pictures or stupid musings or jokes to be kept focused. The text is concise, the wording is consistent, overall thorough and systematic; must-have traits for any good technical writer. I'll definitely check other books from this author. Thanks.
Profile Image for Rob.
566 reviews11 followers
April 13, 2016
This is just an introductory Java text. There is no special discussion of how Java is different on the Android platform, the Dalvik VM, or anything else that one would expect from a book packaged as this is. It's dry enough that it doesn't even appear to rate very highly among introductory Java texts--I'd recommend Niemeyer & Knudsen before this book.
Profile Image for MoniGarr ..
9 reviews3 followers
December 30, 2020
This book helped me get started as a java android developer. It was very dry reading, but very detailed. The details about a problem, then explanations about a solution with the code samples helped me to understand the java syntax and logic.
Profile Image for Charles Patterson.
26 reviews6 followers
September 30, 2014
This book is not a good primer on Java, nor on Android programming, but contains a thorough coverage of Java for Android. I find it best to think of it as a Java for Android reference while I'm learning Android programming from other sources.
15 reviews1 follower
Read
February 21, 2016
Great book for beginning Java Programming with Android based development in mind. Really put into perspective how to get your IDE up and running and where to find additional Android SDK's.
Displaying 1 - 11 of 11 reviews

Can't find what you're looking for?

Get help and learn more about the design.