Get thoroughly up to speed on Android programming, and learn how to create up-to-date user experiences for both handsets and tablets. With this book’s extensively revised second edition, you’ll focus on Android tools and programming essentials, including best practices for using Android 4 APIs. If you’re experienced with Java or Objective-C, you’ll gain the knowledge necessary for building well-engineered applications.
Programming Android is organized into four parts:
Part One helps programmers with some Java or iOS experience get off to a fast start with the Android SDK and Android programming basics.
Part Two delves into the Android framework, focusing on user interface and graphics class hierarchies, concurrency, and databases. It’s a solid foundation for understanding of how the most important parts of an Android application work.
Part Three features code skeletons and patterns for accelerating the development of apps that use web data and Android 4 user interface conventions and APIs.
Part Four delivers practical coverage of Android’s multimedia, search, location, sensor, and account APIs, plus the Native Development Kit, enabling developers to add advanced capabilities. This updated edition of Programming Android focuses on the knowledge and developer priorities that are essential for successful Android development projects.
Zigurd Mednieks is a consultant to leading OEMs, enterprises, and entrepreneurial ventures creating mobile and IoT systems and apps.
Previously he was Chief Architect at D2 Technologies, a voice-over-IP (VoIP) technology provider. There he lead engineering and product definition work for products that blend communication and social media in purpose-built embedded systems.
He is lead author of the top-selling O'Reilly title Programming Android. Zigurd is also the lead author of Enterprise Android, published by Wiley WROX in 2013. This the first Android programming book to focus on cloud API-based applications.
Zigurd is Series Editor of the Addison Wesley Android Deep Dive series.
Zigurd is a veteran of user interface, telecommunications,, and social media product creation. In 1986, his first book, C programming Techniques for the Macintosh, co-authored with his wife-to-be Terry, was published by Howard W. Sams & Co. and went into several printings.
If you're on your first Android project (like me), get this book, right away! Don't be intimidated by its official designation as "intermediate". As a beginner, you'll want to know how to rescue yourself from bugs. This book provides the context behind every concept: you'll know the why, the what to do next, and the what to avoid (and why!). You'll develop a mental mapping of the "space" where everything sits.
It's aimed at people who've done some Java already, but if you haven't, there's a very nice intro to the Java you'll need (again, with all the vital "why"s behind the "how"s).
Lots of code examples explained step-by-step.
It's intended to be used together with the online Android documentation by Google, but is quite usable all by itself. Its focus on "best practices" is invaluable.
Want to get into Android programming? What better than a book called Programming Android from O'Reilly! :) This is a GREAT resource! The book is well-organized into sections, giving you information on how to setup your environment all the way up to handling more recent topics like NFC.
I find that the style of the book works well as a reference to look up roughly how you would do something, like setup NFC P2P or setup some OpenGL graphics, as well as a running tutorial to read through to learn how things work. The book is full of code examples (available online too) and valuable information on how to properly implement your applications (see Chapter 10 - A Framework for a Well-Behaved Application).
Reading this book enlightened me to a great way to implement one of my projects without worrying about certain runtime issues. Originally I had considered putting logic in a run loop in the application and shutdown when it left... but that wouldn't work out right when I needed information live, but cached information would be good. The book enlightened me to "Content Providers" which using a service could provide the necessary cache I needed. Later on I discovered that the service by itself would solve my problem, but without the reading, I wouldn't have stumbled upon the path as quickly!
The author, Zigurd Mednieks, has done a great job in writing a strong book on Android to compliment the vast amount of information available through Google's documentation. I suggest you get this book, especially the eBook form - you can easily search through and find references / copy code-bits.
A very detailed explanations of the Java language and android environment. The authors explains Java to the extent it relates to android OS and the Davrik Compiler. Keep in mind that when the book was published Android 4.0 was the latest version. But don't let that publishing date fool you because App support for Android 4.0 will have to go on for a while and the book is still very relevant as of Android 4.3-4.4. If your an experienced android developer look elsewhere this is for beginners. Experienced Java developers can skip the first part.
The instructions for setting up the build environment are already obsolete. In the second edition. Of an e-book.
But once I'd figured that part out I was able to (virtually) leaf through the book to aid me figuring out the structure of the app that I'd chosen to debug. And, eventually, to creating my own android app, from setting up the directory structure to signing the app for release.
This book is advertised as being very "advanced". It's not. It's advertised as having information about the NDK. It doesn't (unless you count one overly-long, unexplained example program as information). It has more information about the Java language that I cared to get in a book of this nature, and less information about sensors than is needed to do anything significant with them.
What I learnt from this book is that, one should hire a programmer instead of trying to learn every thing beyond scope. Still I'd appreciate writer's effort. Good for beginners.
Good Android book. I have found many useful information in it about Android main components and also in JAVA. But it is somehow not well-organized and contains some mess.