Beginning Android 3

Beginning Android 3

by Mark Murphy
4.6 3

Paperback(1st ed.)

$32.61 $39.99 Save 18% Current price is $32.61, Original price is $39.99. You Save 18%.
View All Available Formats & Editions
Eligible for FREE SHIPPING
  • Get it by Monday, October 23 , Order now and choose Expedited Delivery during checkout.


Beginning Android 3 by Mark Murphy

The vibrant and rich Android development platform, created by Google and the Open Handset Alliance, continues to be a platform in its truest sense, encompassing hundreds of classes beyond the traditional Java classes and open source components that ship with the software development kit. Android's continued growthincludes support for Flash and Flash gaming apps, Wi-Fi tethering, improved performance, WebM or WebMedia integration for HTML5-based video and other multimedia APIs, Chrome OS (WebOS) integration, and more.

With Beginning Android 3, you’ll learn how to develop applications for Android 3 mobile devices using simple examples that are ready to run with your copy of the software development kit. Author, Android columnist, developer, and community advocate Mark L. Murphy will show you what you need to know to get started programming Android applications, including how to craft graphical user interfaces, use GPS, multi-touch, multi-tasking, and access web services.

What you’ll learn

  • Discover Android and how to use it to build Java-based mobile applications for a wide range of phones and devices.
  • Create user interfaces using both the Android widget framework and the built-in WebKit-powered Web browser components.
  • Utilize the distinctive capabilities of the Android engine, including location tracking, maps, and Internet access.
  • Use and create Android applications incorporating activities, services, content providers, and broadcast receivers.
  • Support Android 3 and earlier devices, including dealing with multiple Android OS versions, multiple screen sizes, and other device-specific characteristics.
  • Create Flash game and other apps on Android.
  • Build and experience the array of new WebM video and other multimedia APIs for Android and more.

Who this book is for

This book is aimed at people new to mobile development.

Table of Contents

  1. The Big Picture
  2. How to Get Started
  3. Your First Android Project
  4. Examining Your First Project
  5. A Bit About Eclipse
  6. Enhancing Your First Project
  7. Rewriting Your First Project
  8. Using XML-Based Layouts
  9. Employing Basic Widgets
  10. Working with Containers
  11. The Input Method Framework
  12. Using Selection Widgets
  13. Getting Fancy with Lists
  14. Still More Widgets and Containers
  15. Embedding The WebKit Browser
  16. Applying Menus
  17. Showing Pop-up Messages
  18. Handling Activity Lifecycle Events
  19. Handling Rotation
  20. Dealing with Threads
  21. Creating Intent Filters
  22. Launching Activities and Sub-Activities
  23. Working with Resources
  24. Defining and Using Styles
  25. Handling Multiple Screen Sizes
  26. Introducing the Honeycomb UI
  27. Using the Action Bar
  28. Fragments
  29. Handling Platform Changes
  30. Accessing Files
  31. Using Preferences
  32. Managing and Accessing Local Databases
  33. Leveraging Java Libraries
  34. Communicating via the Internet
  35. Services: The Theory
  36. Basic Service Patterns
  37. Alerting Users via Notifications
  38. Requesting and Requiring Permissions
  39. Accessing Location-Based Services
  40. Mapping with MapView and MapActivity
  41. Handling Telephone Calls
  42. Fonts
  43. More Development Tools
  44. The Role of Alternative Environments
  45. HTML5
  46. PhoneGap
  47. Other Alternative Environments
  48. Dealing with Devices
  49. Where Do We Go from Here?

Product Details

ISBN-13: 9781430232971
Publisher: Apress
Publication date: 07/13/2011
Edition description: 1st ed.
Pages: 612
Product dimensions: 7.50(w) x 9.10(h) x 1.30(d)

About the Author

Mark Murphy is the founder of CommonsWare and the author of The Busy Coder's Guide to Android Development. A three-time entrepreneur, his experience ranges from consulting on open source and collaborative development for Fortune 500 companies to application development on just about anything smaller than a mainframe. He has been a software developer for over 25 years, working on platforms ranging from the TRS-80 to the latest crop of mobile devices. A polished speaker, Mark has delivered conference presentations and training sessions on a wide array of topics internationally. Mark writes the "Building Droids" column for AndroidGuys and the "Android Angle" column for NetworkWorld. Outside of CommonsWare, Mark has an avid interest in how the Internet will play a role in citizen involvement with politics and government. He is a contributor to the Rebooting America essay collection, and his personal blog features many posts discussing "cooperative democracy."

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

Beginning Android 3 4.7 out of 5 based on 0 ratings. 3 reviews.
StephenF More than 1 year ago
This is a well laid out book for Java programmers who want to learn how to create applications for Android devices. This is not a book for learning how to program or for anyone who does not have some experience programming in Java. The author has a nice writing style with a light sense of humour and straight forward explanations of the aspects of Android development. The first few chapters are all too brief and merely touch on topics needed to know to begin programming Android applications. But once you are past these disappointing chapters, the remaining chapters are excellent tutorials providing examples that help illustrate each chapter's topic well. I recommend this book for Java programmers who want to learn how to develop on Android devices. I don't recommend this book for someone trying to learn programming.
Kurt_R More than 1 year ago
This is great book for the beginner. It starts off with installing Android SDK, Eclipse development environment and shows you how to set up an emulator. The book uses very clear examples. It starts with the basics and explains everything to you. The book gives you more than just samples, it gives you instruction. The book uses a walk through approach to teaching. Mr. Murphy is an excellent author. This book covers UI including basic controls, menus, pop up messages, screen rotation, date and time picker, tabs, and handling multiple screen sizes. The book covers activities, resources, threading, communicating via the internet, databases, and phone services. At the end of the book it delves into other development environments for Android. The book assumes the reader has some Java experience. I think that is not necessary as long as you have some object oriented programming experience. If you have knowledge of classes, inheritance, events, constructors, and such, you should be ok. If you find yourself getting lost in the terminology, you might want to pick up an introductory java book. When getting into Android 3, the book talks about the improvements from Android 2. It explains the new features and shows you how to use the new capabilities. This book covers everything you need to know for your first Android App. If you are looking to start developing for Android, this book is for you.
apihl More than 1 year ago
First of all, I would like to say that I am in no way any Android or Java expert. I enjoy creating small apps on my free time and have read a few books about programming, but I have no formal education or experience in the field. The book "Beginning Android 3" seems well suited for someone like me. It assumes that you have some experience in programming and Java, but it starts off easy, by explaining how to install and use the most common tools in your IDE. Then it continues, showing you how to get a simple "Hello world!" type program up and running. If you are using Eclipse, this book covers how to use Eclipse with the Android tools in details. It also covers other IDE's, but I feel that it leans more towards Eclipse. And that is probably not all that bad, Eclipse is free, available for most platforms, and probably the most likely choice if you are just starting with Android development. If you, like me, also have read "Beginning Android 2", you might find yourself thinking "Hey, this book is exactly the same!". And you are actually right. Many of the chapters are exactly the same, word for word. But this book also covers more recent developments in Android, mainly the 3.0 or "Honeycomb", which is an edition of Android intended for devices with bigger screens. Honeycomb is more Tablet-oriented. The first few chapter is mainly about setting up text and buttons on the screen, and these are the chapters that haven't changed much since the previous book. Then, in later chapters, you'll have more new stuff, and the book explains how you would go about creating an app for a tablet that has more screen space, and how to create backwards compatibility when creating apps that could end up on a phone running 2.3 as well as a tablet running 3.0. Not all classes that are available to you in 3.0 will work on a device running 2.3, and the author shows examples of how you could check for what version of Android the app is running on, and how to load resources accordingly. He explains some of the changes that has been done to Android in the past, and how we should prepare for changes that might come in the future. Then the book covers other subjects like how to communicate with the internet, how to load and save both preferences and other information that you need to stay put after the application has been stopped or the phone has been turned off. Then we are shown how to use various services, and how to create services of our own, for instance get the location from the GPS and show it on a map. In the last chapters of the book, you a briefly introduced to programming in other languages than Java, mainly HTML5 and PhoneGap. The author also mentions Rhodes, Flash/Flex/AIR, Jruby/ Ruboto, Mono for Android and Googles own "App Inventor", but this is just to give you an idea of what is out there. There is nothing here with any meat on it, it's basically just to tell you that it is possible to use these to create an Android application. All in all I am pretty content with this book. If you do not have any Java experience, you should get another book in addition to this one. But if you are like me, a self-taught Java programmer that would like to learn how to program applications for Android as a hobby, this book is perfect. It may not be easy, there are chapters that you may have to read more than once, but as long as you know some basic Java, there is nothing in the book that should seem impossible to understand.