Kindle Fire Development Essentials
Table of Contents
- Introduction to Kindle Fire App Development Essentials
- An Overview of the Kindle Fire
- Setting up a Kindle Fire Android Development Environment
- System Requirements
- Installing the Java Development Kit (JDK)
- Downloading the Android Developer Tools (ADT) Bundle
- Installing the ADT Bundle
- Installing the Correct Android and Kindle Fire SDK Packages
- Making the Android SDK Tools Command-line Accessible
- Adding the ADT Plugin to an Existing Eclipse Integration
- Adding the ADT Plugin to an Existing Eclipse Integration
- Adding the ADT Plugin to an Existing Eclipse Integration
- Creating a Kindle Fire Android Virtual Device (AVD)
- Creating an Example Kindle Fire Android Application
- Testing Android Applications on a Physical Kindle Fire Device with ADB
- An Overview of the Android Debug Bridge (ADB)
- Enabling ADB on the Kindle Fire Device
- Configuring the adb to Detect a Kindle Fire Device
- Mac OS X Kindle Fire ADB Configuration
- Windows Kindle Fire ADB Configuration
- Linux Kindle Fire adb Configuration
- 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
- Detecting Common Gestures using the Android Gesture Detector Class
- Implementing Android Custom Gesture and Pinch Recognition
- The Android Gesture Builder Application
- The GestureOverlayView Class
- Detecting Gestures
- Identifying Specific Gestures
- Adding SD Card Support to an AVD
- Building and Running the Gesture Builder Application
- 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 Introduction to Android Fragments
- Using Fragments in Android - A Worked Example
- About the Example Fragment Application
- Creating the Example Project
- Adding the Android Support Library
- Creating the First Fragment Layout
- Creating the First Fragment Class
- Creating the Second Fragment Layout
- Adding the Fragments to the Activity
- Making the Toolbar Fragment Talk to the Activity
- Making the Activity Talk to the Text Fragment
- Testing the Application
- Creating and Managing Android Overflow Menus on the Kindle Fire
- An Overview of Android Intents
- Android Explicit Intents – A Worked Example
- Creating the Explicit Intent Example Application
- Designing the User Interface Layout for ActivityA
- Creating the Second Activity Class
- Creating the User Interface for ActivityB
- Adding ActivityB to the Application Manifest File
- Creating the Intent
- Extracting Intent Data
- Launching ActivityB as a Sub-Activity
- Returning Data from a Sub-Activity
- Testing the Application
- Android Implicit Intents – A Worked Example
- Creating the Implicit Intent Example Project
- Designing the User Interface
- Creating the Implicit Intent
- Adding a Second Matching Activity
- Adding the Web View to the UI
- Obtaining the Intent URL
- Modifying the MyWebView Project Manifest File
- Installing the MyWebView Package on a Device
- Testing the Application
- Android Broadcast Intents and Broadcast Receivers
- An Overview of Broadcast Intents
- An Overview of Broadcast Receivers
- Obtaining Results from a Broadcast
- Sticky Broadcast Intents
- The Broadcast Intent Example
- Creating the Example Application
- Creating and Sending the Broadcast Intent
- Creating the Broadcast Receiver
- Configuring a Broadcast Receiver in the Manifest File
- Testing the Broadcast Example
- Listening for System Broadcasts
- A Basic Overview of Android Threads and Thread handlers
- An Overview of Android Started and Bound Services
- Implementing an Android Started Service – A Worked Example
- Android Local Bound Services – A Worked Example
- Android Remote Bound Services – A Worked Example