Book description
Update to the bestseller now features the latest release of the Android platform
Android is a powerful, flexible, open source platform for mobile devices and its popularity is growing at an unprecedented pace. This update to the bestselling first edition dives in to cover the exciting new features of the latest release of the Android mobile platform.
Providing in-depth coverage of how to build mobile applications using the next major release of the Android SDK, this invaluable resource takes a hands-on approach to discussing Android with a series of projects, each of which introduces a new feature and highlights techniques and best practices to get the most out of Android.
The Android SDK is a powerful, flexible, open source platform for mobile devices
Shares helpful techniques and best practices to maximize the capabilities of Android
Explains the possibilities of Android through the use of a series of detailed projects
Demonstrates how to create real-world mobile applications for Android phones
Includes coverage of the latest version of Android
Providing concise and compelling examples, Professional Android Application Development is an updated guide aimed at helping you create mobile applications for mobile devices running the latest version of Android.
Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
Table of contents
- Copyright
- ABOUT THE AUTHOR
- ABOUT THE TECHNICAL EDITOR
- CREDITS
- ACKNOWLEDGMENTS
- INTRODUCTION
-
1. Hello, Android
- 1.1. A LITTLE BACKGROUND
- 1.2. WHAT IT ISN'T
- 1.3. ANDROID: AN OPEN PLATFORM FOR MOBILE DEVELOPMENT
- 1.4. NATIVE ANDROID APPLICATIONS
-
1.5. ANDROID SDK FEATURES
- 1.5.1. Access to Hardware, Including Camera, GPS, and Accelerometer
- 1.5.2. Native Google Maps, Geocoding, and Location-Based Services
- 1.5.3. Background Services
- 1.5.4. SQLite Database for Data Storage and Retrieval
- 1.5.5. Shared Data and Interapplication Communication
- 1.5.6. Using Widgets, Live Folders, and Live Wallpaper to Enhance the Home Screen
- 1.5.7. Extensive Media Support and 2D/3D Graphics
- 1.5.8. Optimized Memory and Process Management
- 1.6. INTRODUCING THE OPEN HANDSET ALLIANCE
- 1.7. WHAT DOES ANDROID RUN ON?
- 1.8. WHY DEVELOP FOR MOBILE?
- 1.9. WHY DEVELOP FOR ANDROID?
- 1.10. INTRODUCING THE DEVELOPMENT FRAMEWORK
- 1.11. SUMMARY
-
2. Getting Started
- 2.1. DEVELOPING FOR ANDROID
- 2.2. DEVELOPING FOR MOBILE DEVICES
- 2.3. TO-DO LIST EXAMPLE
- 2.4. ANDROID DEVELOPMENT TOOLS
- 2.5. SUMMARY
-
3. Creating Applications and Activities
- 3.1. WHAT MAKES AN ANDROID APPLICATION?
- 3.2. INTRODUCING THE APPLICATION MANIFEST
- 3.3. USING THE MANIFEST EDITOR
- 3.4. THE ANDROID APPLICATION LIFE CYCLE
- 3.5. UNDERSTANDING APPLICATION PRIORITY AND PROCESS STATES
- 3.6. EXTERNALIZING RESOURCES
- 3.7. INTRODUCING THE ANDROID APPLICATION CLASS
- 3.8. A CLOSER LOOK AT ANDROID ACTIVITIES
- 3.9. SUMMARY
-
4. Creating User Interfaces
- 4.1. FUNDAMENTAL ANDROID UI DESIGN
- 4.2. INTRODUCING VIEWS
- 4.3. INTRODUCING LAYOUTS
- 4.4. CREATING NEW VIEWS
- 4.5. DRAWABLE RESOURCES
- 4.6. RESOLUTION AND DENSITY INDEPENDENCE
- 4.7. CREATING AND USING MENUS
- 4.8. SUMMARY
-
5. Intents, Broadcast Receivers, Adapters, and the Internet
-
5.1. INTRODUCING INTENTS
- 5.1.1. Using Intents to Launch Activities
- 5.1.2. Using Intent Filters to Service Implicit Intents
- 5.1.3. Using Intent Filters for Plug-Ins and Extensibility
- 5.1.4. Introducing Linkify
- 5.1.5. Using Intents to Broadcast Events
- 5.2. INTRODUCING PENDING INTENTS
- 5.3. INTRODUCING ADAPTERS
- 5.4. USING INTERNET RESOURCES
- 5.5. INTRODUCING DIALOGS
- 5.6. CREATING AN EARTHQUAKE VIEWER
- 5.7. SUMMARY
-
5.1. INTRODUCING INTENTS
-
6. Files, Saving State, and Preferences
- 6.1. SAVING SIMPLE APPLICATION DATA
- 6.2. CREATING AND SAVING PREFERENCES
- 6.3. RETRIEVING SHARED PREFERENCES
- 6.4. CREATING A SETTINGS ACTIVITY FOR THE EARTHQUAKE VIEWER
- 6.5. INTRODUCING THE PREFERENCE ACTIVITY AND PREFERENCES FRAMEWORK
- 6.6. CREATING A STANDARD PREFERENCE ACTIVITY FOR THE EARTHQUAKE VIEWER
- 6.7. SAVING ACTIVITY STATE
- 6.8. SAVING AND LOADING FILES
- 6.9. INCLUDING STATIC FILES AS RESOURCES
- 6.10. FILE MANAGEMENT TOOLS
- 6.11. SUMMARY
-
7. Databases and Content Providers
- 7.1. INTRODUCING ANDROID DATABASES
- 7.2. INTRODUCING SQLite
- 7.3. CURSORS AND CONTENT VALUES
- 7.4. WORKING WITH SQLite DATABASES
- 7.5. CREATING A NEW CONTENT PROVIDER
- 7.6. USING CONTENT PROVIDERS
- 7.7. CREATING AND USING AN EARTHQUAKE CONTENT PROVIDER
- 7.8. NATIVE ANDROID CONTENT PROVIDERS
- 7.9. SUMMARY
-
8. Maps, Geocoding, and Location-Based Services
- 8.1. USING LOCATION-BASED SERVICES
- 8.2. CONFIGURING THE EMULATOR TO TEST LOCATION-BASED SERVICES
- 8.3. UPDATING LOCATIONS IN EMULATOR LOCATION PROVIDERS
- 8.4. SELECTING A LOCATION PROVIDER
- 8.5. FINDING YOUR LOCATION
- 8.6. USING PROXIMITY ALERTS
- 8.7. USING THE GEOCODER
-
8.8. CREATING MAP-BASED ACTIVITIES
- 8.8.1. Introducing Map View and Map Activity
- 8.8.2. Getting Your Maps API Key
- 8.8.3. Creating a Map-Based Activity
- 8.8.4. Configuring and Using Map Views
- 8.8.5. Using the Map Controller
- 8.8.6. Mapping 'Where Am I?'
- 8.8.7. Creating and Using Overlays
- 8.8.8. Introducing My Location Overlay
- 8.8.9. Introducing Itemized Overlays and Overlay Items
- 8.8.10. Pinning Views to the Map and Map Positions
- 8.9. MAPPING EARTHQUAKES EXAMPLE
- 8.10. SUMMARY
-
9. Working in the Background
- 9.1. INTRODUCING SERVICES
- 9.2. USING BACKGROUND THREADS
- 9.3. LET'S MAKE A TOAST
- 9.4. INTRODUCING NOTIFICATIONS
- 9.5. USING ALARMS
- 9.6. SUMMARY
-
10. Invading the Phone-Top
- 10.1. INTRODUCING HOME-SCREEN WIDGETS
-
10.2. CREATING APP WIDGETS
- 10.2.1. Creating the Widget Layout
- 10.2.2. Defining Your Widget Settings
- 10.2.3. Creating Your Widget Intent Receiver and Adding It to the Application Manifest
- 10.2.4. Introducing Remote Views and the App Widget Manager
- 10.2.5. Refreshing Your Widgets
- 10.2.6. Creating and Using a Widget Configuration Activity
- 10.3. CREATING AN EARTHQUAKE WIDGET
- 10.4. INTRODUCING LIVE FOLDERS
- 10.5. ADDING SEARCH TO YOUR APPLICATIONS AND THE QUICK SEARCH BOX
- 10.6. CREATING LIVE WALLPAPER
- 10.7. SUMMARY
-
11. Audio, Video, and Using the Camera
- 11.1. PLAYING AUDIO AND VIDEO
- 11.2. RECORDING AUDIO AND VIDEO
- 11.3. USING THE CAMERA AND TAKING PICTURES
- 11.4. ADDING NEW MEDIA TO THE MEDIA STORE
- 11.5. RAW AUDIO MANIPULATION
- 11.6. SPEECH RECOGNITION
- 11.7. SUMMARY
-
12. Telephony and SMS
- 12.1. TELEPHONY
- 12.2. INTRODUCING SMS AND MMS
- 12.3. SUMMARY
-
13. Bluetooth, Networks, and Wi-Fi
-
13.1. USING BLUETOOTH
- 13.1.1. Accessing the Local Bluetooth Device Adapter
- 13.1.2. Managing Bluetooth Properties and State
- 13.1.3. Being Discoverable and Remote Device Discovery
- 13.1.4. Bluetooth Communications
- 13.1.5. Bluetooth Data Transfer Example
- 13.2. MANAGING NETWORK CONNECTIVITY
- 13.3. MANAGING YOUR WI-FI
- 13.4. SUMMARY
-
13.1. USING BLUETOOTH
-
14. Sensors
- 14.1. USING SENSORS AND THE SENSOR MANAGER
- 14.2. INTERPRETING SENSOR VALUES
- 14.3. USING THE COMPASS, ACCELEROMETER, AND ORIENTATION SENSORS
- 14.4. CONTROLLING DEVICE VIBRATION
- 14.5. SUMMARY
-
15. Advanced Android Development
- 15.1. PARANOID ANDROID
- 15.2. USING WAKE LOCKS
- 15.3. INTRODUCING ANDROID TEXT TO SPEECH
- 15.4. USING AIDL TO SUPPORT IPC FOR SERVICES
- 15.5. USING INTERNET SERVICES
-
15.6. BUILDING RICH USER INTERFACES
-
15.6.1. Working with Animations
- 15.6.1.1. Introducing Tweened Animations
- 15.6.1.2. Creating Tweened Animations
- 15.6.1.3. Applying Tweened Animations
- 15.6.1.4. Using Animation Listeners
- 15.6.1.5. Animated Sliding User Interface Example
- 15.6.1.6. Animating Layouts and View Groups
- 15.6.1.7. Creating and Using Frame-by-Frame Animations
- 15.6.2. Advanced Canvas Drawing
- 15.6.3. Introducing the Surface View
- 15.6.4. Creating Interactive Controls
-
15.6.1. Working with Animations
- 15.7. SUMMARY
Product information
- Title: Professional Android™ 2 Application Development
- Author(s):
- Release date: March 2010
- Publisher(s): Wrox
- ISBN: 9780470565520
You might also like
book
Professional Windows 7 Development Guide
Everything you need to immediately get the most from Windows 7 This essential and unique book …
book
How to Do Everything Adobe Acrobat X
Unlock the full potential of Adobe Acrobat X! Now it's easier than ever to create interactive …
book
PaintShop Pro X4 for Photographers
Great for those new to PaintShop Pro or digital imaging in general, this book is packed …
article
Reinventing the Organization for GenAI and LLMs
Previous technology breakthroughs did not upend organizational structure, but generative AI and LLMs will. We now …