Normal view MARC view ISBD view

Android Developer's Cookbook.

by Steele, James; To, Nelson.
Material type: materialTypeLabelBookDescription: 1 online resource (360 pages).ISBN: 9781282819368.Subject(s): Electronic booksOnline resources: Click to View
Contents:
Cover -- Table of Contents -- 1 Overview of Android -- The Evolution of Android -- The Dichotomy of Android -- Devices Running Android -- HTC Models -- Motorola Models -- Samsung Models -- Tablets -- Other Devices -- Hardware Differences on Android Devices -- Screens -- User Input Methods -- Sensors -- Features of Android -- Multiprocess and App Widgets -- Touch, Gestures, and Multitouch -- Hard and Soft Keyboards -- Android Development -- How to Use the Recipes in This Book -- Designing Applications Well -- Maintaining Forward Compatibility -- Robustness -- Software Development Kit -- Installing and Upgrading -- Software Features and API Level -- Emulator and Android Device Debug -- Using the Android Debug Bridge -- Signing and Publishing -- Android Market -- End-User License Agreement -- Improving App Visibility -- Differentiating an App -- Charging for an App -- Managing Reviews and Updates -- Alternatives to the Android Market -- 2 Application Basics: Activities and Intents -- Android Application Overview -- Recipe: Creating a Project and an Activity -- Directory Structure of Project and Autogenerated Content -- Android Package and Manifest File -- Renaming Parts of an Application -- Activity Lifecycle -- Recipe: Utilizing Other Lifecycle Functions -- Recipe: Forcing Single Task Mode -- Recipe: Forcing Screen Orientation -- Recipe: Saving and Restoring Activity Information -- Multiple Activities -- Recipe: Using Buttons and TextView -- Recipe: Launching Another Activity from an Event -- Recipe: Launching an Activity for a Result Using Speech to Text -- Recipe: Implementing a List of Choices -- Recipe: Using Implicit Intents for Creating an Activity -- Recipe: Passing Primitive Data Types Between Activities -- 3 Threads, Services, Receivers, and Alerts -- Threads -- Recipe: Launching a Secondary Thread -- Recipe: Creating a Runnable Activity.
Recipe: Setting a Thread's Priority -- Recipe: Canceling a Thread -- Recipe: Sharing a Thread Between Two Applications -- Messages Between Threads: Handlers -- Recipe: Scheduling a Runnable Task from the Main Thread -- Recipe: Using a Countdown Timer -- Recipe: Handling a Time-Consuming Initialization -- Services -- Recipe: Creating a Self-Contained Service -- Adding a Broadcast Receiver -- Recipe: Starting a Service When the Camera Button Is Pressed -- App Widgets -- Recipe: Creating an App Widget -- Alerts -- Recipe: Using Toast to Show a Brief Message on the Screen -- Recipe: Using an Alert Dialog Box -- Recipe: Showing Notification in Status Bar -- 4 User Interface Layout -- Resource Directories and General Attributes -- Recipe: Specifying Alternate Resources -- Views and ViewGroups -- Recipe: Building Layouts in the Eclipse Editor -- Recipe: Controlling the Width and Height of UI Elements -- Recipe: Setting Relative Layout and Layout ID -- Recipe: Declaring a Layout Programmatically -- Recipe: Updating a Layout from a Separate Thread -- Text Manipulation -- Recipe: Setting and Changing Text Attributes -- Recipe: Providing Text Entry -- Recipe: Creating a Form -- Other Widgets: From Buttons to Seek Bars -- Recipe: Using Image Buttons in a Table Layout -- Recipe: Using Check Boxes and Toggle Buttons -- Recipe: Using Radio Buttons -- Recipe: Creating a Drop-Down Menu -- Recipe: Using a Progress Bar -- Recipe: Using a SeekBar -- 5 User Interface Events -- Event Handlers and Event Listeners -- Recipe: Intercepting a Physical Key Press -- Recipe: Building Menus -- Recipe: Defining Menus in XML -- Recipe: Utilizing the SEARCH Key -- Recipe: Reacting to Touch Events -- Recipe: Listening for Fling Gestures -- Recipe: Using Multitouch -- Advanced User Interface Libraries -- Recipe: Using Gestures -- Recipe: Drawing 3D Images -- 6 Multimedia Techniques.
Images -- Recipe: Loading an Image for Manipulation -- Audio -- Recipe: Choosing and Playing Back Audio Files -- Recipe: Recording Audio Files -- Recipe: Manipulating Raw Audio -- Recipe: Using Sound Resources Efficiently -- Recipe: Adding Media and Updating Paths -- Video -- 7 Hardware Interface -- Camera -- Recipe: Customizing the Camera -- Other Sensors -- Recipe: Getting a Device's Rotational Attitude -- Recipe: Using the Temperature and Light Sensor -- Telephony -- Recipe: Utilizing the Telephony Manager -- Recipe: Listening for Phone States -- Recipe: Dialing a Phone Number -- Bluetooth -- Recipe: Turning on Bluetooth -- Recipe: Discovering Bluetooth Devices -- Recipe: Pairing with Bonded Bluetooth Devices -- Recipe: Opening a Bluetooth Socket -- Recipe: Using Device Vibration -- Recipe: Accessing the Wireless Network -- 8 Networking -- Using SMS -- Recipe: Autosend an SMS Based on a Received SMS -- Using Web Content -- Recipe: Customizing a Web Browser -- Recipe: Using an HTTP GET -- Recipe: Using HTTP POST -- Social Networking -- Recipe: Integrating with Twitter -- 9 Data Storage Methods -- Shared Preferences -- Recipe: Creating and Retrieving Shared Preferences -- Recipe: Using the Preferences Framework -- Recipe: Changing the UI Based on Stored Data -- Recipe: Adding a EULA -- SQLite Database -- Recipe: Creating a Separate Database Package -- Recipe: Using a Separate Database Package -- Recipe: Creating a Personal Diary -- Content Provider -- Recipe: Creating a Custom Content Provider -- File Saving and Loading -- 10 Location-Based Services -- Location Basics -- Recipe: Retrieving Last Location -- Recipe: Updating Location Upon Change -- Recipe: Listing All Enabled Providers -- Recipe: Translating a Location to Address (Reverse Geocoding) -- Recipe: Translating an Address to Location (Geocoding) -- Using Google Maps.
Recipe: Adding Google Maps to an Application -- Recipe: Adding Markers on a Map -- Recipe: Adding Views to a Map -- Recipe: Marking the Device's Current Location on a Map -- Recipe: Setting up a Proximity Alert -- 11 Advanced Android Development -- Android Custom View -- Recipe: Customizing a Button -- Android Native Components -- Recipe: Developing a Native Component -- Android Security -- Recipe: Declaring and Enforcing Permissions -- Android Inter-Process Communication -- Recipe: Implementing a Remote Procedure Call -- Android Backup Manager -- Recipe: Creating a Backup of Runtime Data -- Recipe: Backing Up Files to the Cloud -- Recipe: Triggering Backup and Restore -- Android Animation -- Recipe: Creating an Animation -- 12 Debugging -- Eclipse Built-in Debug Tools -- Recipe: Specifying a Run Configuration -- Recipe: Using the DDMS -- Recipe: Debugging Through Breakpoints -- Android SDK Debug Tools -- Recipe: Using the Android Debug Bridge -- Recipe: Using LogCat -- Recipe: Using the Hierarchy Viewer -- Recipe: Using TraceView -- Android System Debug Tools -- Recipe: Setting up GDB Debugging -- Index -- A -- B -- C -- D -- E -- F -- G -- H -- I -- J -- K -- L -- M -- N -- O -- P -- Q-R -- S -- T -- U -- V -- W -- X-Y-Z.
Summary: Want to get started building applications for Android, the world’s hottest, fast-growing mobile platform? Already building Android applications and want to get better at it? This book brings together all the expert guidance—and code—you’ll need!   Completely up-to-date to reflect the newest and most widely used Android SDKs, The Android Developer’s Cookbook is the essential resource for developers building apps for any Android device, from phones to tablets.   Proven, modular recipes take you from the absolute basics to advanced location-based services, security techniques, and performance optimization. You’ll learn how to write apps from scratch, ensure interoperability, choose the best solutions for common problems, and avoid development pitfalls. Coverage includes: Implementing threads, services, receivers, and other background tasks Providing user alerts Organizing user interface layouts and views Managing user-initiated events such as touches and gestures Recording and playing audio and video Using hardware APIs available on Android devices Interacting with other devices via SMS, web browsing, and social networking Storing data efficiently with SQLite and its alternatives Accessing location data via GPS Using location-related services such as the Google Maps API Building faster applications with native code Providing backup and restore with the Android Backup Manager Testing and debugging apps throughout the development cycle   Turn to The Android Developer’s Cookbook for proven, expert answers—and the code you need to implement them. It’s all you need to jumpstart any Android project, and create high-value, feature-rich apps that sell!.
No physical items for this record

Cover -- Table of Contents -- 1 Overview of Android -- The Evolution of Android -- The Dichotomy of Android -- Devices Running Android -- HTC Models -- Motorola Models -- Samsung Models -- Tablets -- Other Devices -- Hardware Differences on Android Devices -- Screens -- User Input Methods -- Sensors -- Features of Android -- Multiprocess and App Widgets -- Touch, Gestures, and Multitouch -- Hard and Soft Keyboards -- Android Development -- How to Use the Recipes in This Book -- Designing Applications Well -- Maintaining Forward Compatibility -- Robustness -- Software Development Kit -- Installing and Upgrading -- Software Features and API Level -- Emulator and Android Device Debug -- Using the Android Debug Bridge -- Signing and Publishing -- Android Market -- End-User License Agreement -- Improving App Visibility -- Differentiating an App -- Charging for an App -- Managing Reviews and Updates -- Alternatives to the Android Market -- 2 Application Basics: Activities and Intents -- Android Application Overview -- Recipe: Creating a Project and an Activity -- Directory Structure of Project and Autogenerated Content -- Android Package and Manifest File -- Renaming Parts of an Application -- Activity Lifecycle -- Recipe: Utilizing Other Lifecycle Functions -- Recipe: Forcing Single Task Mode -- Recipe: Forcing Screen Orientation -- Recipe: Saving and Restoring Activity Information -- Multiple Activities -- Recipe: Using Buttons and TextView -- Recipe: Launching Another Activity from an Event -- Recipe: Launching an Activity for a Result Using Speech to Text -- Recipe: Implementing a List of Choices -- Recipe: Using Implicit Intents for Creating an Activity -- Recipe: Passing Primitive Data Types Between Activities -- 3 Threads, Services, Receivers, and Alerts -- Threads -- Recipe: Launching a Secondary Thread -- Recipe: Creating a Runnable Activity.

Recipe: Setting a Thread's Priority -- Recipe: Canceling a Thread -- Recipe: Sharing a Thread Between Two Applications -- Messages Between Threads: Handlers -- Recipe: Scheduling a Runnable Task from the Main Thread -- Recipe: Using a Countdown Timer -- Recipe: Handling a Time-Consuming Initialization -- Services -- Recipe: Creating a Self-Contained Service -- Adding a Broadcast Receiver -- Recipe: Starting a Service When the Camera Button Is Pressed -- App Widgets -- Recipe: Creating an App Widget -- Alerts -- Recipe: Using Toast to Show a Brief Message on the Screen -- Recipe: Using an Alert Dialog Box -- Recipe: Showing Notification in Status Bar -- 4 User Interface Layout -- Resource Directories and General Attributes -- Recipe: Specifying Alternate Resources -- Views and ViewGroups -- Recipe: Building Layouts in the Eclipse Editor -- Recipe: Controlling the Width and Height of UI Elements -- Recipe: Setting Relative Layout and Layout ID -- Recipe: Declaring a Layout Programmatically -- Recipe: Updating a Layout from a Separate Thread -- Text Manipulation -- Recipe: Setting and Changing Text Attributes -- Recipe: Providing Text Entry -- Recipe: Creating a Form -- Other Widgets: From Buttons to Seek Bars -- Recipe: Using Image Buttons in a Table Layout -- Recipe: Using Check Boxes and Toggle Buttons -- Recipe: Using Radio Buttons -- Recipe: Creating a Drop-Down Menu -- Recipe: Using a Progress Bar -- Recipe: Using a SeekBar -- 5 User Interface Events -- Event Handlers and Event Listeners -- Recipe: Intercepting a Physical Key Press -- Recipe: Building Menus -- Recipe: Defining Menus in XML -- Recipe: Utilizing the SEARCH Key -- Recipe: Reacting to Touch Events -- Recipe: Listening for Fling Gestures -- Recipe: Using Multitouch -- Advanced User Interface Libraries -- Recipe: Using Gestures -- Recipe: Drawing 3D Images -- 6 Multimedia Techniques.

Images -- Recipe: Loading an Image for Manipulation -- Audio -- Recipe: Choosing and Playing Back Audio Files -- Recipe: Recording Audio Files -- Recipe: Manipulating Raw Audio -- Recipe: Using Sound Resources Efficiently -- Recipe: Adding Media and Updating Paths -- Video -- 7 Hardware Interface -- Camera -- Recipe: Customizing the Camera -- Other Sensors -- Recipe: Getting a Device's Rotational Attitude -- Recipe: Using the Temperature and Light Sensor -- Telephony -- Recipe: Utilizing the Telephony Manager -- Recipe: Listening for Phone States -- Recipe: Dialing a Phone Number -- Bluetooth -- Recipe: Turning on Bluetooth -- Recipe: Discovering Bluetooth Devices -- Recipe: Pairing with Bonded Bluetooth Devices -- Recipe: Opening a Bluetooth Socket -- Recipe: Using Device Vibration -- Recipe: Accessing the Wireless Network -- 8 Networking -- Using SMS -- Recipe: Autosend an SMS Based on a Received SMS -- Using Web Content -- Recipe: Customizing a Web Browser -- Recipe: Using an HTTP GET -- Recipe: Using HTTP POST -- Social Networking -- Recipe: Integrating with Twitter -- 9 Data Storage Methods -- Shared Preferences -- Recipe: Creating and Retrieving Shared Preferences -- Recipe: Using the Preferences Framework -- Recipe: Changing the UI Based on Stored Data -- Recipe: Adding a EULA -- SQLite Database -- Recipe: Creating a Separate Database Package -- Recipe: Using a Separate Database Package -- Recipe: Creating a Personal Diary -- Content Provider -- Recipe: Creating a Custom Content Provider -- File Saving and Loading -- 10 Location-Based Services -- Location Basics -- Recipe: Retrieving Last Location -- Recipe: Updating Location Upon Change -- Recipe: Listing All Enabled Providers -- Recipe: Translating a Location to Address (Reverse Geocoding) -- Recipe: Translating an Address to Location (Geocoding) -- Using Google Maps.

Recipe: Adding Google Maps to an Application -- Recipe: Adding Markers on a Map -- Recipe: Adding Views to a Map -- Recipe: Marking the Device's Current Location on a Map -- Recipe: Setting up a Proximity Alert -- 11 Advanced Android Development -- Android Custom View -- Recipe: Customizing a Button -- Android Native Components -- Recipe: Developing a Native Component -- Android Security -- Recipe: Declaring and Enforcing Permissions -- Android Inter-Process Communication -- Recipe: Implementing a Remote Procedure Call -- Android Backup Manager -- Recipe: Creating a Backup of Runtime Data -- Recipe: Backing Up Files to the Cloud -- Recipe: Triggering Backup and Restore -- Android Animation -- Recipe: Creating an Animation -- 12 Debugging -- Eclipse Built-in Debug Tools -- Recipe: Specifying a Run Configuration -- Recipe: Using the DDMS -- Recipe: Debugging Through Breakpoints -- Android SDK Debug Tools -- Recipe: Using the Android Debug Bridge -- Recipe: Using LogCat -- Recipe: Using the Hierarchy Viewer -- Recipe: Using TraceView -- Android System Debug Tools -- Recipe: Setting up GDB Debugging -- Index -- A -- B -- C -- D -- E -- F -- G -- H -- I -- J -- K -- L -- M -- N -- O -- P -- Q-R -- S -- T -- U -- V -- W -- X-Y-Z.

Want to get started building applications for Android, the world’s hottest, fast-growing mobile platform? Already building Android applications and want to get better at it? This book brings together all the expert guidance—and code—you’ll need!   Completely up-to-date to reflect the newest and most widely used Android SDKs, The Android Developer’s Cookbook is the essential resource for developers building apps for any Android device, from phones to tablets.   Proven, modular recipes take you from the absolute basics to advanced location-based services, security techniques, and performance optimization. You’ll learn how to write apps from scratch, ensure interoperability, choose the best solutions for common problems, and avoid development pitfalls. Coverage includes: Implementing threads, services, receivers, and other background tasks Providing user alerts Organizing user interface layouts and views Managing user-initiated events such as touches and gestures Recording and playing audio and video Using hardware APIs available on Android devices Interacting with other devices via SMS, web browsing, and social networking Storing data efficiently with SQLite and its alternatives Accessing location data via GPS Using location-related services such as the Google Maps API Building faster applications with native code Providing backup and restore with the Android Backup Manager Testing and debugging apps throughout the development cycle   Turn to The Android Developer’s Cookbook for proven, expert answers—and the code you need to implement them. It’s all you need to jumpstart any Android project, and create high-value, feature-rich apps that sell!.

Description based on publisher supplied metadata and other sources.

Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2019. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.


Hong Kong Nang Yan College of Higher Education
Lee Yan Fong Library
325-329 Lai Chi Kok Road, Shamshuipo, Kowloon, HONG KONG