Home Page Icon
Home Page
Table of Contents for
Title Page
Close
Title Page
by Jeff Friesen, Dave Smith
Android Recipes: A Problem-Solution Approach, Third Edition
Title Page
Contents at a Glance
Contents
Foreword
About the Authors
About the Technical Reviewer
Acknowledgments
Introduction
Chapter 1: Getting Started with Android
1-1. What Is Android?
1-2. Exploring the History of Android
1-3. Installing the Android SDK
1-4. Installing an Android Platform
1-5. Creating an Android Virtual Device
1-6. Starting the AVD
1-7. Migrating to Eclipse
1-8. Creating Java Library JARs
1-9. Creating Android Library Projects
1-10. Using Core Libraries in Applications
Summary
Chapter 2: Views, Graphics, and Drawing
2-1. Customizing the Window
2-2. Creating and Displaying Views
2-3. Animating a View
2-4. Animating Layout Changes
2-5. Creating Drawables as Backgrounds
2-6. Creating Custom State Drawables
2-7. Applying Masks to Images
2-8. Drawing over View Content
2-9. Implementing Situation-Specific Layouts
2-10. Customizing AdapterView Empty Views
2-11. Customizing ListView Rows
2-12. Making ListView Section Headers
2-13. Creating Compound Controls
2-14. Customizing Transition Animations
2-15. Creating View Transformations
2-16. High-Performance Drawing
Summary
Chapter 3: User Interaction Recipes
3-1. Leveraging the Action Bar
3-2. Locking Activity Orientation
3-3. Performing Dynamic Orientation Locking
3-4. Manually Handling Rotation
3-5. Creating Pop-up Menu Actions
3-6. Displaying a User Dialog
3-7. Customizing Menus and Actions
3-8. Customizing BACK Behavior
3-9. Emulating the HOME Button
3-10. Monitoring TextView Changes
3-11. Customizing Keyboard Actions
3-12. Dismissing the Soft Keyboard
3-13. Handling Complex Touch Events
3-14. Forwarding Touch Events
3-15. Blocking Touch Thieves
3-16. Making Drag-and-Drop Views
3-17. Building a Navigation Drawer
3-18. Swiping Between Views
3-19. Creating Modular Interfaces
Summary
Chapter 4: Communications and Networking
4-1. Displaying Web Information
4-2. Intercepting WebView Events
4-3. Accessing WebView with JavaScript
4-4. Downloading an Image File
4-5. Downloading Completely in the Background
4-6. Accessing a REST API
4-7. Parsing JSON
4-8. Parsing XML
4-9. Receiving SMS
4-10. Sending an SMS Message
4-11. Communicating over Bluetooth
4-12. Querying Network Reachability
4-13. Transferring Data with NFC
4-14. Connecting over USB
Summary
Chapter 5: Interacting with Device Hardware and Media
5-1. Integrating Device Location
5-2. Mapping Locations
5-3. Annotating Maps
5-4. Monitoring Location Regions
5-5. Capturing Images and Video
5-6. Making a Custom Camera Overlay
5-7. Recording Audio
5-8. Capturing Custom Video
5-9. Adding Speech Recognition
5-10. Playing Back Audio/Video
5-11. Playing Sound Effects
5-12. Creating a Tilt Monitor
5-13. Monitoring Compass Orientation
5-14. Retrieving Metadata from Media Content
5-15. Detecting User Motion
Summary
Chapter 6: Persisting Data
6-1. Making a Preference Screen
6-2. Displaying Custom Preferences
6-3. Persisting Simple Data
6-4. Reading and Writing Files
6-5. Using Files as Resources
6-6. Managing a Database
6-7. Querying a Database
6-8. Backing Up Data
6-9. Sharing Your Database
6-10. Sharing Your SharedPreferences
6-11. Sharing Your Other Data
Summary
Chapter 7: Interacting with the System
7-1. Notifying from the Background
7-2. Creating Timed and Periodic Tasks
7-3. Scheduling a Periodic Task
7-4. Creating Sticky Operations
7-5. Running Persistent Background Operations
7-6. Launching Other Applications
7-7. Launching System Applications
7-8. Letting Other Applications Launch Your Application
7-9. Interacting with Contacts
7-10. Reading Device Media and Documents
7-11. Saving Device Media and Documents
7-12. Reading Messaging Data
7-13. Interacting with the Calendar
7-14. Logging Code Execution
7-15. Creating a Background Worker
7-16. Customizing the Task Stack
7-17. Implementing AppWidgets
7-18. Supporting Restricted Profiles
Summary
Chapter 8: Working with Android NDK and RenderScript
Android NDK
8-1. Developing Low-Level Native Activities
8-2. Developing High-Level Native Activities
RenderScript
8-3. Filtering Images with RenderScript
8-4. Manipulating Images with RenderScript
8-5. Faking Translucent Overlays with Blur
Summary
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
cover
Next
Next Chapter
Copyright
Android Recipes
A Problem-Solution Approach
Third Edition
Dave Smith
with Jeff Friesen
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset