Pro Android 3 / Edition 3

Pro Android 3 / Edition 3

4.0 5
by Satya Komatineni, Dave MacLean, Sayed Hashimi

ISBN-10: 1430232226

ISBN-13: 9781430232223

Pub. Date: 04/21/2011

Publisher: Apress

Pro Android 3 starts with the basics, giving you a firm foundation in Android development. It then builds on this foundation to teach you how to build real-world and fun mobile applications using the new Android 3.0 SDK. This book covers advanced concepts in detail including maps, geocoding, services, live folders, drag and drop, touchscreens, and the new

…  See more details below


Pro Android 3 starts with the basics, giving you a firm foundation in Android development. It then builds on this foundation to teach you how to build real-world and fun mobile applications using the new Android 3.0 SDK. This book covers advanced concepts in detail including maps, geocoding, services, live folders, drag and drop, touchscreens, and the new Android 3.0 features: fragments and ActionBar. Pro Android 3 is uniquely comprehensive: it covers sensors, text to speech, OpenGL, live widgets, search, and the audio and video APIs.

Using the code-heavy tutorials and expert advice, you’ll quickly be able to build cool mobile apps and run them on dozens of Android-based smartphones. You’ll explore and use the Android APIs, including those for media, sensors, and long-running services. And you’ll check out what’s new with Android 3.0, including the improved UI across all Android platforms, drag and drop, fragment dialogs, and more, giving you the knowledge to create stunning, cutting-edge apps, while keeping you agile enough to respond to changes in the future.

What you’ll learn

  • How to use Android to build Java-based mobile applications for Google phones with a touch screen or keyboard
  • How to design and implement irresistible user interfaces for touch screens with Views and layouts
  • How to populate your application with data from data sources, using Content Providers
  • How Android works on the inside, so you better understand how to design great mobile apps
  • How to create 3D graphics with OpenGL and custom components
  • How to build multimedia apps using Android’s Media APIs
  • How to use Android’s location-based services, network-based services, and security
  • How to use new Android 3.0 features, such as fragments and the ActionBar

Who this book is for

This book is for professional software engineers/programmers looking to move their ideas and applications into the mobile space with Android. It assumes a passable understanding of Java, including how to write classes and handle basic inheritance structures.

Table of Contents

  1. Introducing the Android Computing Platform
  2. Setting up your Development Environment
  3. Understanding Resources
  4. Understanding Content Providers
  5. Understanding Intents
  6. Building User Interfaces and Using Controls
  7. Adding Menus
  8. Implementing Dialogs
  9. Working with Preferences and Saving State
  10. Security and Permissions
  11. Working with Services
  12. Exploring Packages, Processes, and Library Projects
  13. Exploring Processes, Components, Threads, and Handlers
  14. Exploring Broadcast Receivers and Long Running Services
  15. Exploring the Alarm Manager
  16. Unveiling 2D Animation
  17. Exploring Maps and Location Services
  18. Using the Telephony APIs
  19. Understanding the Media Frameworks
  20. Programming 3D Graphics with OpenGL
  21. Exploring Live Folders
  22. Home Screen Widgets and Live Wallpaper
  23. Android Search
  24. Exploring Text to Speech and the Google Translate API
  25. Touchscreens
  26. Using Sensors
  27. Understanding the Contact API
  28. Deploying your Application: Android Market and Beyond
  29. Fragments
  30. Action Bar
  31. Selected Topics in Android 3.0

Read More

Product Details

Publication date:
Edition description:
Product dimensions:
7.50(w) x 9.20(h) x 2.60(d)

Customer Reviews

Average Review:

Write a Review

and post it to your social network


Most Helpful Customer Reviews

See all customer reviews >

Pro Android 3 4 out of 5 based on 0 ratings. 5 reviews.
DaveLowe More than 1 year ago
Pro Android 3 is a well written and well edited book that fits well into the highly regarded Apress Pro series. Once you get comfortable with the Authors use of "we" throughout, the quality of the content really starts to come through. One of the aspects I particularly liked was the consistent highlighting of which features are new to Android 3 SDK and the provision of workarounds that can be implemented in order to provide the same functionality in earlier versions of the SDK. I also liked the chapter on deploying apps to the Android Market Place. My only criticism of the book was that I felt it could have gone into a little more depth about the use of sensors (accelerometer etc) however given that it already runs to nearly 1200 pages I can accept the fact that it was not possible to comprehensively cover every aspect of the platform - there are further Apress books on the more advanced topics which I assume do cover these aspects in more depth? The book assumes a solid understanding of the Java programming language (although a knowledge of C# would be fine) and as such it is possibly not suitable for the total newbie but on the whole this book is a great reference for the Android 3 platform and I would certainly recommend it.
JacobBosma More than 1 year ago
I bought the ebook version. That means I got a pdf, a epub and a mobi version. I use a notebook and an Irex DRS1000 ereader. The ereader has a 10 inch 1280x1024 screen. And it uses its screen wisely. It strips of the white space on the edges of an ebook, giving me better readability. The pdf (the one I prefer, it maintains the original layout) however has a gray bar on top and over the full width of every page. So there is no white space on top and on both sides to strip of. So that a pity for me. The book itself seems very thorough and complete. It starts with quite a bit of background. That is usefull information. But I of course am longing the get a small program working. And to start with not on the emulator, but on my phone. Well that is about the only thing I did not find in the book. How to put a program (.apk file) as a program on my phone. But a quick google search pointed me to the android app Astro file manager. With that it is very easy. Before I could use that I did have to update the drivers for my phone. After the intro the book starts explaining setup on the pc. And then the first very small "Hello world" app. After that it shows how to load example apps from android SDK in eclipse. It walks you through the "Notelist" application. That's kind of todo list app. The book suggest to spend a few minutes playing with this app. Well it took me more than a few minutes to just onlock the emulator. And the app is actually very good. In just a few quite small files it uses a real sql database , of course a bit more advanced (than Hello world) user interfaces , menus. You can spend way more time than a few minutes on this app. I modified it, first changing the sorting order (very easy) that adding a priority column (requiring a fast forward to the chapter on User interfaces). The book walks you thoroughly through tools like a command prompt to use on the file system of the emulator , command prompt access to the database (eg you can just do alter table to add a column) and debugging tools. And how to create applications with the command prompt tools that come with the android development toolkit and how to configure and use eclipse to create android apps. Next chapters are pretty independant. Focussing on (data) providers (specially on database tables), user interface, menus, etc.) You can but don't need to read the sequentially. Just go to what has your interest now, browse to a different chapter when you need something from that. I spend some time on the Notes list app making small changes to it. (Different sorting order and adding a priority column.) For that I needed to jump for am moment to the chapter on user interfaces. From that I jumped to the chapter about sensors. Would n't it be nice to connect the phone to a small robot ? Learning the thing to walk using the sensors. The VirtualJax example application from the book puts your phone virtually on a location you are not now, and shows the enviroment through Streetview pictures by just pointing your phone in various directions. It's amazing that this application just contains 2 files. A very small layout file, and a 160 lines java program. Android programming is in java. So you need to know java a bit. But it's not really about java programming. Its about mobile device programming. I think this book is very complete and a very good, motivating way to learn android p
Anonymous More than 1 year ago
DouglasDuncan More than 1 year ago
At just over 1100 pages this book is not a quick read, but it reads quicker than most books this size. As you can imagine a book this size covers a lot. While the title has Pro in it, I think that anyone with a good programming base should be able to understand the concepts and work through the examples present in the book. You will probably want to have some knowledge in programming Java before starting this book, but you don't need to be an expert to benefit from this book. I haven't programmed in Java for a while and I didn't have too many problems in keeping up with the examples. The authors have done a good job in covering each of the topics, and they provide links to other locations on the web where you can learn even more. The examples in the chapters are pretty much self contained, and the authors provided information on which chapters you can refer to if they are presenting information from previous/future chapters. To follow along with the examples, you just need to download the Eclipse (or some other) IDE and the Android SDK. While the authors have provide all the code in the book, they were also kind enough to provide the code for download on the companion website. This website also contains the authors notes that they compiled while researching the different topics presented in the book. The first couple chapters cover how to set up your development environment and the core concepts behind the Android platform. From there it goes on to the basic elements of an application (the UI elements, menus and dialogs). After this it gets more in depth into different aspects of programs such as graphics/media, home screen elements (live folders and widgets), programming the touch screen and controlling the built in hardware sensors. It also discusses what you need to do to publish your application on the web and considerations on whether to put your application on the Android Market or somewhere else. The final chapters cover the new API changes in Android 3 (Honeycomb). For most of the examples in the book you don't need to have a physical device, although there are some examples that can't be done in the Android emulator due to limitations within the emulator itself. This is a great book that will get you up to speed on the different aspects of Android programming and will be useful as a reference as you continue on your programming journey. While it would have been great to use the topics discussed into a fully functional application, the book probably wouldn't have been as effective as it is in explaining all the topics covered. I highly recommend this book if you are wanting to get started in Android programming.
Anonymous More than 1 year ago