Book description
The Android Tablet Developer’s Cookbook helps experienced Android developers leverage new Android 4.2.2 features to build compelling applications that take full advantage of tablets’ bigger screens, dual-core processors, and larger, faster memory.
Tightly focused on Android 4.2.2’s tablet-related capabilities, it presents an unparalleled library of easy-to-reuse code for solving real-world problems. Everything’s organized in modular, standalone sections to help you quickly find what you’re looking for, even when you need to use multiple classes together.
Throughout, B.M. Harwani clearly explains how Android tablet apps are unique, how to leverage Android skills and libraries you’ve already mastered, and how to efficiently integrate tablet APIs and features. From media to NFC, porting phone apps to integrating analytics, this book will help you do it fast and do it right.
Coverage includes
Providing user control via the system clipboard, notifications, and pending intents
Supporting drag and drop for both text and images
Displaying navigation and core app functionality via the ActionBar
Using widgets to present calendars, number pickers, image stacks, and options lists
Delivering powerful graphics via animation and hardware accelerated 2D
Recording audio, video, and images
Responding to sensors
Pairing tablets to other Bluetooth-enabled Android devices or PCs
Using Wi-Fi Direct to share media
Creating custom home screen widgets
Making the most of threads and the AsyncTask class
Exchanging data via JSON
Displaying and browsing Web content via the WebView widget
Creating fragments dynamically at runtime and implementing communication between fragments
Porting apps from smartphones to tablets and building new apps for both
Supporting older versions of the Android SDK
Sharing data and messages via NFC with Android Beam
Integrating app analytics and tracking
Turn to The Android Tablet Developer’s Cookbook for proven, expert answers—and the code you need to implement them. It’s all you need to jump-start any project and quickly create compelling Android tablet apps that sell!
Table of contents
- Title Page
- Copyright Page
- Dedication
- Contents
- Foreword [This content is currently in development.]
- Preface [This content is currently in development.]
- Acknowledgments
- About the Author
- Introduction
-
Part I: User Interface Techniques
-
1. Overview of Android Tablet Applications
- Recipe: Introducing Android Tablets
- Recipe: Knowing Differences Between Android Phones and Android Tablets
- Recipe: Making an Application Compatible for the Android Phone and the Android Tablet
- Recipe: Creating Android Virtual Devices
- Recipe: Understanding the Directory Structure of an Android Project
- Recipe: Converting an Android Phone Application into an Android Tablet Application
- Recipe: Forcing an Application to Run Only on Tablets
- Recipe: Understanding Activities
- Recipe: Understanding the Android Activity Life Cycle
- Recipe: Starting Activity Using Intent
- Recipe: Passing Data from One Activity to Another
- Summary
-
2. Fragments
- Recipe: Introducing Fragments
- Recipe: Understanding the Life Cycle of a Fragment
- Recipe: Creating Foreground Fragments, and Knowing the Difference Between Foreground and Background Fragments
- Recipe: Adding and Removing Fragments with Device Orientation
- Recipe: Understanding the Role of FragmentManager and FragmentTransaction in Handling Fragments
- Recipe: Creating Fragments Dynamically at Runtime
- Recipe: Implementing Communication Between Fragments
- Recipe: Displaying Options Using ListFragment
- Recipe: Displaying Dialog Through DialogFragment
- Recipe: Setting User’s Preferences with PreferenceFragment
- Summary
-
3. ActionBars in Action
- Recipe: Understanding the Difference Between the Menu and the ActionBar
- Recipe: Toggling ActionBar Visibility
- Recipe: Understanding the ActionBar Components
- Recipe: Displaying Action Items in the ActionBar
- Recipe: Navigating to the Application Home Page After Selecting the Application Icon
- Recipe: Displaying Action Views in the ActionBar
- Recipe: Displaying a Submenu in the ActionBar
- Recipe: Creating Tabbed ActionBar
- Recipe: Creating a Drop-Down List ActionBar
- Summary
- 4. New Widgets
-
1. Overview of Android Tablet Applications
-
Part II: Managing Content
- 5. System Clipboard, and Drag and Drop
-
6. Notifications and Pending Intents
- Recipe: Understanding Pending Intents
- Recipe: Broadcasting an Intent
- Recipe: Understanding Android Notification System
- Recipe: Creating Notifications
- Recipe: Using Notification.Builder
- Recipe: Obtaining a NotificationManager
- Recipe: Creating Notification and Using Pending Intent to Start an Activity
- Summary
-
7. Loaders
- Recipe: Understanding Loaders
- Recipe: Understanding Content Provider
- Recipe: Using CursorLoader to Access Information in the Contacts Content Provider
- Recipe: Creating a Custom Content Provider
- Recipe: Listing Information in a Custom Content Provider
- Recipe: Updating and Deleting Information in a Custom Content Provider
- Summary
-
Part III: Multimedia Techniques
-
8. Animation
- Recipe: Understanding Types of Animations
- Recipe: Using ValueAnimator
- Recipe: Using ObjectAnimator to Animate Views
- Recipe: Multiple Animations Using AnimatorSet
- Recipe: Understanding Frame-by-Frame Animation
- Recipe: Using Tweening Animation
- Recipe: Applying Layout Animation
- Recipe: Collecting and Sequencing Animations Using AnimationSet
- Summary
- 9. Hardware-Accelerated 2D
- 10. Creating and Rendering Graphics
-
11. Recording Audio, Video, and Images
- Recipe: Capturing an Image Using Built-In Intent
- Recipe: Capturing an Image Using Java Code
- Recipe: Recording Audio Using Built-In Intent
- Recipe: Understanding CamcorderProfile
- Recipe: Understanding MediaRecorder and Its Methods
- Recipe: Recording Audio Using Java Code
- Recipe: Recording Video Using Built-In Intent
- Recipe: Recording Video Using Java Code
- Summary
-
8. Animation
-
Part IV: Networking and Hardware Interface
-
12. Wireless Connectivity
- Recipe: Pairing Two Bluetooth-Enabled Devices
- Recipe: Manually Transferring Files from One Device to Another Using Bluetooth
- Recipe: Pairing a Bluetooth Device with a Windows PC
- Recipe: Enabling Local Bluetooth Device
- Recipe: Displaying the List of Paired Devices
- Recipe: Transferring Files Through Bluetooth
- Recipe: Understanding Wi-Fi
- Recipe: Enabling and Disabling Wi-Fi
- Recipe: Understanding Wi-Fi Direct
- Summary
- 13. Cores and Threads
- 14. Keyboards and Sensors
-
12. Wireless Connectivity
- Part V: Exploring the Web
-
Part VI: Advanced Android Techniques
-
17. Adding Support for the Small Screen
- Recipe: Factors for Supporting Different Screens and Densities
- Recipe: Supporting Different Platform Versions
- Recipe: Supporting Older Versions Using the Android Support Library
- Recipe: Adapting to Screen Orientation by Anchoring Controls
- Recipe: Defining Alternate Layout to Handle Screen Orientation
- Summary
- 18. Home Screen Widgets
-
19. Android Beam
- Recipe: Understanding Near Field Communication (NFC)
- Recipe: Understanding NFC Tags
- Recipe: Knowing the Structures Used in Exchanging Information with NFC Tags
- Recipe: Reading from NFC Tags
- Recipe: Writing into the NFC Tag
- Recipe: Using Android Beam
- Recipe: Transferring Data Using Android Beam
- Summary
- 20. Application Analytics and Tracking
-
17. Adding Support for the Small Screen
Product information
- Title: The Android™ Tablet Developer’s Cookbook
- Author(s):
- Release date: May 2013
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780133137316
You might also like
book
Android Application Development Cookbook: 93 Recipes for Building Winning Apps
A must-have collection of ready-to-use Android recipes! The popularity of Google Android devices is seemingly unstoppable …
book
Professional Android 4 Application Development, 3rd Edition
Developers, build mobile Android apps using Android 4 The fast-growing popularity of Android smartphones and tablets …
book
Professional Android Sensor Programming
Learn to build human-interactive Android apps, starting with device sensors This book shows Android developers how …
book
Animation from Pencils to Pixels
Just add talent! Award-winning animator Tony White brings you the ultimate book for digital animation. Here …