Android continues to be one of the two leading mobile OS and Development platforms driving today's mobile innovations and the apps ecosystem.Android comes off as complex, but offers a variety of organized development kits to those coming into Android with differing programming language skill sets.
Android Recipes: A Problem-Solution Approach guides you step by step through topics using complete and real-world working code examples.
In this book, you quickly get a refresh of the Android app architecture and explore Android-specific APIs.Then, you get down to business and build apps with Googles Android SDK at the command line. You'll learn all aboutusing NetBeans, Eclipse, theApp Inventor tool, and the Scripting Layer for Android tool. You'll alsolearn how toimprove app performance via the Android NDK, and much more.
Instead of abstract descriptions on complex concepts, you find live codeexamples in this book. When you start a new project, you can consider copying and pastingthe code and configuration files from this book, and then modifying them for your own customization needs. This can save you a great deal of work over creating a project from scratch!
What youll learn
- Discover app architecture and various Android-specific APIs
- How to develop the app in the context of command-line/Android SDK, NetBeans/Android SDK, and Eclipse/Android SDK environments
- How to develop the app using the App Inventor tool
- How to develop the app using the SL4A tool
- What scripting languages are supported in Android
- How to boost app performance by using the Android NDK
- Howto directly access OpenGL ES 2.0 features
Newcomers to Android as well as more accomplished Android developers.
|Edition description:||1st ed.|
|Product dimensions:||7.50(w) x 9.20(h) x 1.10(d)|
About the Author
Jeff ""JavaJeff"" Friesen is a freelance software developer and educator specializing in Java and now Android technology. In addition to teaching Java at a local college, he's written several books on Java, with Learn Java for Android and Beginning Java SE 6 Platform: From Novice to Professional being his most recent books. Jeff has also written numerous articles for java.net, InformIT.com and JavaWorld.com. Check out his javajeff.mb.ca website to discover these articles, as well as additional material on Java, JavaFX, and other software technologies.
Most Helpful Customer Reviews
This is book is an excellent addition to the bookshelf of any serious android developer. Android Recipes is primarily geared toward an experienced android developer. However, even a beginning android developer (with a solid understanding of the Java programming language) will find it beneficial. What sets this book apart from most is its clear, concise explanations. I have tested and implemented many of the solutions in this book. After reading Chapter 5: Persisting Data, I was able to implement a content provider of my own in no time. Pros: Clear, concise explanations of complex topics. Code examples available on-line. Cons: None This is the best android book I have read so far, and I definitely recommend it to anyone serious about Android development.
If you are an Android developer, this is book you want on your shelf. Android Recipes gives you examples of working code to solve real world problems. Sure you can find the information on-line, but where else will you find all of this information in single, easy to use source, without spending hours digging through random web pages looking for a working example. While reading the book, I found myself frequently stopping to make notes or sending myself an email so I could try something new at work the next day. I can say that my understanding of what is possible has grown and my apps are better as a result. Like many recipe books, the layout is a problem and solution format. The chapters are logically divided into things like system services, communications and networking, and working with libraries. Each chapter gives a multitude of problems which Android developers face daily. Then, and example is given of how to solve the problem. Best of all, the examples are thorough. Many books gloss over simple things like the layout of a screen. The authors have obviously taken the extra effort to provide a complete example of each solution. So what can you expect to learn? This is a VERY short list of some of the problems which this book helps solve. UI challenges such as manually handling UI rotation and creating pop-up menu actions. Parsing XML and JSON. Receiving SMS messages and capturing notification events. Capturing and playing back audio and video. Using the scripting layer to run shell and python scripts. Persistent data and working with the SQLite database. Integrating 3rd party JARs into your project If you are on the fence about this book, I encourage you to take the plunge and buy it. You will not be disappointed.
I really enjoy to read and meanwhile work with the Android Recipes book because it is very well structured and useful as a reference book. There are many useful recipes which are needed in the daily life of nearly every Android developer. Moreover the reader is also lead to further more specific problems and possibilities he did not know so far. Furthermore this book does not constrain itself and therefore the reader to specific tools but makes a lot of offers with introducing several tools or libraries and their use for specific tasks. Beside that authors spend a whole chapter in describing the basics of the Android platform which are essential to be understood by each Android developer. So what recipes can you find in Android Recipes and how useful are they for the daily life of an Android developer? You will find are a good mix according to different stages of programming. There a recipes for simple standard tasks which you learn when you start Android programming like creating an user interface via xml. You find also tasks which you will probably need after you are finished with playing around and want program more individualized applications like for example customizing the view and the behavior of user interface controls like Lists. Furthermore you find also some surprises in the recipes like a recipe for providing a individual Java Script API which allows a Website to communicate with your Android application through the browser. Another aspect is the structure of the book. For every recipe you find a triple consisting of a short problem description, a short description of the proposed way to solve it and lastly the detailed manuel for implementing the solution. Especially the second part where the problem-solving approach is described in a few sentences allows you to determine very fast if the recipe will help you with your problem. Also the solutions themselves are very structured and in my opinion the highlighted text-boxes where important aspects and sticking points are emphasized are very useful. Also very interesting are the appendix chapters where Android Scripting and the NDK are introduced for further reading and where guidelines are presented which describe aspects of a good app design. Since Android Recipes targets advanced Android developers I really would have appreciated if this guidelines would have got more room than a few pages in the appendix even though they were very good. As a conclusion as supplement to other Android books especially when you often develop with Android and for people who already programmed some basic Android apps and want to go further Android Recipes is a very good buy. Especially for people like me who like to learn with examples. Altogether he book delivers what it promises.