This practical book provides the concepts and code you need to develop software with Android, the open-source platform for cell phones and mobile devices that's generating enthusiasm across the industry. Based on the Linux operating system and developed by Google and the Open Handset Alliance, Android has the potential to unite a fragmented mobile market. Android Application Development introduces this programming environment, and offers you a complete working example that demonstrates Android architectural features and APIs. With this book, you will:
* Get a complete introduction to the Android programming environment, architecture, and tools
* Build a modular application, beginning with a core module that serves to launch modules added in subsequent chapters
* Learn the concepts and architecture of a specific feature set, including views, maps, location-based services, persistent data storage, 2D and 3D graphics, media services, telephony services, and messaging
* Use ready-to-run example code that implements each feature
* Delve into advanced topics, such as security, custom views, performance analysis, and internationalization
The book is a natural complement to the existing Android documentation provided by Google. Whether you want to develop a commercial application for mobile devices, or just want to create a mobile mashup for personal use, Android Application Development demonstrates how you can design, build, and test applications for the new mobile market.
Sprache
Verlagsort
Zielgruppe
Illustrationen
Maße
Höhe: 232 mm
Breite: 178 mm
ISBN-13
978-0-596-52147-9 (9780596521479)
Schweitzer Klassifikation
Rick Rogers has been a professional embedded software engineer and software marketing manager for over 30 years. He has focused on mobile application software for the past 8 years, developing mobile software and strategic mobile engineering and marketing plans for companies such as Compaq, Intel, and Marvell Semiconductor. John Lombardo has been working with Linux since version 0.9. His first book, Embedded Linux, was published in 2001. Since then he's worked on several embedded products, including phones and routers. John holds a BS in Computer Science and is working on his MBA. Zigurd Mednieks is Chief User Interface Architect at D2 Technologies, a leading provider of IP communications technology, and is a consultant and advisor to companies in the field of embedded user interfaces. He has held senior management positions at companies making mobile games, communications equipment, and computer telephony applications, and has written and contributed to books on programming and communications technology. Blake Meike has more than 10 years of experience with Java. He has developed applications using most of the GUI toolkits and several of the Java mobile device platforms. He likes Android a lot.
Inhaltsverzeichnis
* Preface
* Audience
* How This Book Is Organized
* Conventions Used in This Book
* Using Code Examples
* Safari® Books Online
* How to Contact Us
* Acknowledgments
* Development Kit Walk-Through
* Chapter 1Getting to Know Android
* Why Android?
* The Open Handset Alliance
* The Android Execution Environment
* Components of an Android Application
* Android Activity Lifecycle
* Android Service Lifecycle
* How This Book Fits Together
* Chapter 2Setting Up Your Android Development
Environment
* Setting Up Your Development Environment
* Hello, Android
* Chapter 3Using the Android Development Environment for Real
Applications
* MicroJobs: This Book's Main Sample Application
* Android and Social Networking
* Downloading the MJAndroid Code
* A Brief Tour of the MJAndroid Code
* First Steps: Building and Running the MicroJobs Application
* Summary
* Chapter 4Under the Covers: Startup Code and Resources in the MJAndroid
Application
* Initialization Parameters in AndroidManifest.xml
* Initialization in MicroJobs.java
* Summary
* Chapter 5Debugging Android Applications
* The Tools
* Eclipse Java Editor
* Summary
* Chapter 6The ApiDemos Application
* Application Setup in the Manifest File
* Finding the Source to an Interesting Example
* Adding Your Own Examples to ApiDemos
* Chapter 7Signing and Publishing Your
Application
* Test Your Application
* Attach an End User License Agreement If Desired
* Create and Attach an Icon and Label
* Clean Up for Release
* Version Your Application
* Obtaining a Signing Certificate and API Key
* Signing Your Application
* Retesting Your Application
* Publishing on Android Market
* Programming Topics
* Chapter 8Persistent Data Storage: SQLite Databases and Content
Providers
* Databases
* Content Providers
* Chapter 9Location and Mapping
* Location-Based Services
* Mapping
* The Google Maps Activity
* The MapView and MapActivity
* Working with MapViews
* Location Without Maps
* Chapter 10Building a View
* Android GUI Architecture
* Assembling a Graphical Interface
* Wiring Up the Controller
* The Menu
* Chapter 11A Widget Bestiary
* Android Views
* ViewGroups
* Layouts
* Chapter 12Drawing 2D and 3D Graphics
* Rolling Your Own Widgets
* Bling
* Chapter 13Inter-Process Communication
* Intents: Simple, Low-Overhead IPC
* Remote Methods and AIDL
* Chapter 14Simple Phone Calls
* Quick and Easy Phone Calls
* Exploring the Phone Code Through the Debugger
* Exception Handling
* Android Application-Level Modularity and Telephony
* Chapter 15Telephony State Information and Android Telephony Classes
* Operations Offered by the android.telephony Package
* Android Telephony Internals
* Android and VoIP
* Wireless Protocols
* Prehistory
* The Dawn of Second Generation (2G) Digital Cellular
* Improved Digital Cellular (2.5G)
* The Rise of 3G
* The Future: 4G
* Colophon