The Busy Coder’s Guide to Android Development, Version 3.6
Год: 2011
Автор: Mark L. Murphy
Издательство: CommonsWare
ISBN: 0981678009
Язык: Английский
Формат: PDF
Качество: Изначально компьютерное (eBook)
Количество страниц: 727
Описание: Android, the next-generation open mobile platform from Google and the Open Handset Alliance, is poised to become a significant player in the mobile device market. The Android platform gives developers a fair bit of control while still supporting a familiar programming language. However, the frameworks, GUI widgets, and development model is different than any other mobile platform out there. That’s where this book comes in.
Spanning 466 pages, The Busy Coder’s Guide to Android Development covers a wide range of Android capabilities and APIs, from creating simple user interfaces, to supporting long-running background processes, through the advanced location tracking and mapping features. Along the way, it covers how to embed the WebKit Web browser in your application, how to have your application use data from other installed applications (and vice versa!) or off the Internet, and how to integrate with the built-in on-device search engine. It will help you more quickly climb the Android learning curve, so you can create the “killer app” you’ve dreamed of…or perhaps just a quick-and-dirty application for you and your friends.
Оглавление
The Big Picture
How To Get Started
Your First Android Project
Examining Your First Project
A Bit About Eclipse
Enhancing Your First Project
Rewriting Your First Project
Using XML-Based Layouts
Employing Basic Widgets
Working with Containers
The Input Method Framework
Using Selection Widgets
Getting Fancy with Lists
Still More Widgets and Containers
Embedding the WebKit Browser
Applying Menus
Showing Pop-Up Messages
Handling Activity Lifecycle Events
Handling Rotation
Dealing with Threads
Creating Intent Filters
Launching Activities and Sub-Activities
Working with Resources
Defining and Using Styles
Handling Multiple Screen Sizes
Introducing the Honeycomb UI
Using the Action Bar
Fragments
Handling Platform Changes
Accessing Files
Using Preferences
Managing and Accessing Local Databases
Leveraging Java Libraries
Communicating via the Internet
Services: The Theory
Basic Service Patterns
Alerting Users Via Notifications
Requesting and Requiring Permissions
Accessing Location-Based Services
Mapping with MapView and MapActivity
Handling Telephone Calls
Fonts
Development Tools
The Role of Alternative Environments
HTML5
PhoneGap
Other Alternative Environments
Dealing with Devices
Where Do We Go From Here?