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, Part1
8: Exploring the Basic APIs, Part2
9: Functional Programming and Lambdas
10: Exploring the Collections Framework
11: Exploring the Concurrency Utilities
12: Performing Classic I/O
13: Accessing Networks
14: Migrating to New I/O
15: Accessing Databases
16: Parsing, Creating, and Transforming XML Documents
17: Working With JSON Documents
A. Solutions to Exercises
Peter Späth consults, trains/teaches, and writes books on various subjects, with a primary focus on software development. With a wealth of experience in Java-related languages, the release of Kotlin for building Android apps made him enthusiastic about writing books for Kotlin development in the Android environment. He also graduated in 2002 as a physicist and soon afterward became an IT consultant, mainly for Java-related projects.
Jeff Friesen is a freelance tutor and software developer with an emphasis on Java (and now Android). In addition to authoring Learn Java for Android Development and co-authoring Android Recipes, Jeff has written numerous articles on Java and other technologies for JavaWorld, informIT, Java.net, and DevSource.
Gain the essential Java language skills necessary for using the Android SDK platform to build Java-based Android apps. This book includes the latest Java SE releases that Android supports, and is geared towards the Android SDK version 10. It includes new content including JSON documents, functional programming, and lambdas as well as other language features important for migrating Java skills to Android development.
Android is still the world's most popular mobile platform and because this technology is still mostly based on Java, you should first obtain a solid grasp of the Java language and its APIs in order to improve your chances of succeeding as an effective Android apps developer. Learn Java for Android Development, 4th Editionhelps you do that.
Each of the book’s 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. Once you finish, you will be ready to begin your Android app development journey using Java.
You will:
Discover the latest Java programming language features relevant to Android SDK development
Apply inheritance, polymorphism, and interfaces to Android development
Use Java collections, concurrency, I/O, networks, persistence, functional programming, and data access in Android apps
Parse, create, and transform XML and JSON documents
Migrate your Java skills for mobile development using the Android platform