Kindle Fire Development Essentials
Table of Contents
- An Overview and History of the Kindle Fire
- Setting Up a Kindle Fire Android Development Environment
- Creating a Kindle Fire Android Virtual Device (AVD)
- Creating an Example Kindle Fire Android Application
- Testing Android Applications on a Physical Kindle Fire Device
- An Overview of the Android Debug Bridge (adb)
- Configuring the adb to Detect a Kindle Fire Device
- Mac OS X Kindle Fire adb Configuration
- Windows Kindle Fire adb Configuration
- Configuring the adb_usb.ini File
- Configuring the Google USB Driver Package
- Installing the Google USB Device Driver
- Restarting the adb Server
- Linux Kindle Fire adb Configuration
- Identifying the Linux USB Device
- Editing the 51-android.rules File
- Modifying the adb_usb.ini File
- Restarting the adb Server
- Testing the adb Connection
- Manual Selection of the Application Run Target
- An Overview of the Kindle Fire Android Architecture
- The Anatomy of an Android Application
- Understanding Android Application and Activity Lifecycles
- Handling Android Activity State Changes
- Android Activity State Changes – An Example Application
- Saving and Restoring the User Interface State of an Android Activity
- Understanding Android Views, View Groups and Layouts
- Designing an Android User Interface using the Graphical Layout Tool
- The Android Graphical Layout Tool
- A Graphical Layout Tool Example
- Adding an XML Resource File to the Project
- Editing View Properties
- Using the View Properties Sheet
- Creating a New Activity
- Adding the New Activity to the Manifest File
- Running the Application
- Manually Creating an XML Layout
- Using the Hierarchy Viewer
- Creating an Android User Interface in Java Code
- An Overview and Example of Android Event Handling
- Android Touch and Multi-touch Event Handling
- Android Gesture and Pinch Recognition on the Kindle Fire
- The Android Gestures Builder Application
- The GestureOverlayView Class
- Detecting Gestures
- Identifying Specific Gestures
- Adding SD Card Support to an AVD
- Creating a Gestures File
- Extracting the Gestures File from the SD Card
- Creating the Example Project
- Designing the User Interface
- Loading the Gestures File
- Registering the Event Listener
- Implementing the onGesturePerformed Method
- Testing the Application
- Configuring the GestureOverlayView
- Intercepting Gestures
- Detecting Pinch Gestures
- A Pinch Gesture Example Project
- An Overview of Android Intents