Android 4 App Development Essentials
From Techotopia
Table of Contents | Next | |
Introduction to Android 4.2 App Development Essentials |
© 2013 Neil Smyth / Payload Media. This eBook is provided for personal use only. Unauthorized use, reproduction and/or distribution strictly prohibited. All rights reserved.
<google>BUY_ANDROID</google>
Table of Contents
- Introduction to Android 4.2 App Development Essentials
- Setting up an Android Development Environment
- System Requirements
- Installing the Java Development Kit (JDK)
- Windows JDK Installation
- Mac OS X JDK Installation
- Linux JDK Installation
- Downloading the Android Developer Tools (ADT) Bundle
- Installing the ADT Bundle
- Installation on Windows
- Installation on Mac OS X
- Installation on Linux
- Installing the Latest Android SDK Packages
- Making the Android SDK Tools Command-line Accessible
- Windows 7
- Windows 8
- Linux
- Mac OS X
- Updating the ADT
- Adding the ADT Plugin to an Existing Eclipse Integration
- Creating an Android Virtual Device (AVD)
- Creating an Example Android Application
- Testing Android Applications on a Physical Android Device with ADB
- An Overview of the 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
- Using the Android GridLayout Manager in the Graphical Layout Tool
- Introducing the Android GridLayout and Space Classes
- The GridLayout Example
- Creating the GridLayout Project
- Creating the GridLayout Instance
- An Overview of the GridLayout in the Graphical Layout Tool
- Adding Views to GridLayout Cells
- Implementing Cell Row and Column Spanning
- Changing the Gravity of a GridLayout Child
- Working with the Android GridLayout in XML Layout Resources
- 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
- An Android Master/Detail Flow Tutorial
- Creating and Managing Overflow Menus on Android
- 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
- An Overview of Android SQLite Databases
- An Android TableLayout and TableRow Tutorial
- An Android SQLite Database Tutorial
- Understanding Android Content Providers
- An Android Content Provider Tutorial
- Copying the Database Project
- Adding the Content Provider Package
- Creating the Content Provider Class
- Constructing the Authority and Content URI
- Implementing URI Matching in the Content Provider
- Implementing the Content Provider onCreate() Method
- Implementing the Content Provider insert() Method
- Implementing the Content Provider query() Method
- Implementing the Content Provider update() Method
- Implementing the Content Provider delete() Method
- Declaring the Content Provider in the Manifest File
- Modifying the Database Handler
- Implementing Video Playback on Android using the VideoView and MediaController Classes
- Introducing the Android VideoView Class
- Introducing the Android MediaController Class
- Testing Video Playback
- Creating the Video Playback Example
- Designing VideoPlayer Layout
- Configuring the VideoView
- Adding Internet Permission
- Adding the MediaController to the Video View
- Setting up the onPreparedListener
- Video Recording and Image Capture on Android using Camera Intents
- Android Audio Recording and Playback using MediaPlayer and MediaRecorder
- Playing Audio
- Recording Audio and Video using the MediaRecorder Class
- About the Example Project
- Creating the AudioApp Project
- Designing the User Interface
- Checking for Microphone Availability
- Performing the Activity Initialization
- Implementing the recordAudio() Method
- Implementing the stopClicked() Method
- Implementing the playAudio() method
- Configuring Permissions in the Manifest File
- Testing the Application
- Working with the Google Maps Android API