What students will learn?

  • The architecture of Android.
  • The basics of an Android application.
  • How the GUI is developed.
  • Accessing data from files, network and SQL database.
  • Selling your applications in Android market.

Audience

IT software development manager, product development manager and business analysts.

Prerequisites

None.

Duration

1 day

Outline for Android for Business Users Training

Chapter 1. Introduction to Android

  • What is Android?
  • A Short History
  • Advantages of Android
  • Disadvantages of Android
  • Q1 2010 Global Market Share
  • Q2 2010 Global Market Share
  • US Only Market Share - All Subscribers
  • US Only Market Share – New Subscribers
  • Android Carriers
  • References
  • Summary

Chapter 2. The Architecture of Android

  • Key Components Stack
  • The Kernel
  • Libraries
  • The Dalvik JVM
  • Application Framework
  • Applications
  • Summary

Chapter 3. The Development Environment

  • What Do We Need?
  • Setting Up the SDK
  • Install Eclipse Plugin
  • Create a Virtual Device
  • Creating a Project
  • Running Your Application
  • Buttons of the Emulator
  • Run Configuration
  • Debugging an Application
  • Using Third Party JAR
  • Creating Reusable Library
  • Dalvik Debug Monitor Server (DDMS)
  • DDMS Tools in Eclipse
  • The Console Views
  • Developing for Multiple Android Versions
  • Summary

Chapter 4. Application Fundamentals

  • Recapping The Basics
  • Packaging an Application
  • Application Reusability Architecture
  • The Manifest File
  • Activity
  • Creating an Activity Class
  • Activity Lifecycle
  • Launching an Activity
  • Pausing and Stopping an Activity
  • Destroying an Activity
  • Saving State
  • The onCreate() Method
  • Registering an Activity
  • The Default Activity
  • Process Lifecycle
  • The Application Class
  • The Application Context
  • Summary

Chapter 5. Basic GUI Programming

  • The Fundamentals
  • View Hierarchy
  • Creating Views Programmatically
  • Creating View in XML Layout
  • More on XML Layout
  • Common Programming Tasks with Views
  • TextView and EditText
  • Button
  • CheckBox
  • RadioButton and RadioGroup
  • ToggleButton
  • ImageView
  • RatingBar
  • Summary

Chapter 6. Intents and Intent Filters

  • What is an Intent?
  • The android.content.Intent Class
  • Explicitly Specifying Component Name
  • Example
  • Implicit Target Component Specification
  • Intent Filters
  • Action Name
  • Category Name
  • Data Type Filter
  • Hint Matching Logic
  • Example Hint Matching – 1
  • Example Hint Matching – 2
  • Default Component of an Application
  • Starting an Activity
  • Getting Output from Activity
  • Example of Launcher: ActivityA
  • Example of Launched: ActivityB
  • Pending Intent
  • Summary

Chapter 7. Data Storage

  • Data Storage Options
  • Data Privacy
  • Shared Preferences
  • Modifying Shared Preferences
  • Shared Preferences Example
  • Default Preferences
  • Editing Preferences
  • Example: Editing Preferences
  • Internal Storage
  • Example: Write to Internal Storage
  • Example: Read from Internal Storage
  • Private Directory
  • Cache Directory
  • Example: Writing to Cache File
  • External Storage
  • Checking State of External Storage
  • Working with Files in External Storage
  • Example: Writing to External Storage
  • Shipping Files with the Application
  • Working with Raw Resource Files
  • Working with Asset Files
  • Summary

Chapter 8. SQL Database Storage

  • Introduction
  • Opening a Database Connection
  • Transaction Management
  • A Pattern for Connection and Transaction Handling
  • Creating Schema
  • Compiled SQL Statement
  • Inserting Data
  • Updating Data
  • Deleting Data
  • Fetching Data
  • Example Queries
  • Iterating Over a Cursor
  • Reading Column Values from Cursor
  • A Complete Example
  • Cursor Management
  • Binding Cursor to ListView
  • Custom Data Binding
  • Handling Item Click Event
  • Refreshing the ListView
  • Schema Creation Issues
  • Example Helper Class
  • Using the Helper Class
  • Summary

Chapter 9. Network Programming

  • Introduction
  • Communication Using HTTP Protocol
  • Creating a HttpClient Object
  • Making a GET Request
  • Making a POST Request
  • Setting Timeout
  • Using Basic Authentication
  • Using Custom Authentication
  • XML Parsing Options
  • Setting Up XML Pull Parser
  • The Main Loop
  • Example XML Document
  • Example Parsing Code
  • Checking Network Status
  • Summary

Chapter 10. Packaging and Distributing Applications

  • Introduction
  • Pricing Options
  • Getting the Application Ready
  • About Signing the Application
  • Exporting and Signing the Application
  • Going to Android Market
  • Doing Maintenance
  • Summary