Training

Popular Courses

Browse Our Free Resources

  • whitepapers
  • whitepapers
  • webinars
  • blogs

Our Locations

Training Centres

Vancouver, BC
Calgary, AB
Edmonton, AB
Toronto, ON
Ottawa, ON
Montreal, QC
Hunt Valley
Columbia

locations map

Calgary

550 6th Av SW
Suite 475
Calgary, AB
T2P 0S2

Toronto

439 University Av
Suite 820
Toronto, ON
M5G 1Y8

Vancouver

409 Granville St
Suite 902
Vancouver, BC
V6C 1T2

U.S. Office

436 York Road
Suite 1
Jenkintown, PA
19046

Other Locations

Dallas, TX
Miami, FL

 

Home > Training > Mobile Computing >

WA1966 Advanced Programming for Android Training and Courseware

Quick Enroll

This course teaches more advanced programming topics for the Android platform. Students will learn to use database and network in their programs. This course is ideal for developers who want to take their Android skills to the next level.

What students will learn?

  • Advanced GUI topics like ListView, WebView and tabbed layout.
  • Working with files and SQL database.
  • Content provider
  • Network programming.
  • Performing tasks in the background.
  • Play audio and video.
  • Automate Unit test applications.
  • Package and sell applications.

Audience

Developers and architects who will be developing applications for Android devices.

Prerequisites

Students must have working knowledge of Android programming. Good knowledge of Java and  familiarity with Eclipse is necessary.

Duration

3 days

Course Outline

 

Chapter 1. Showing Notification Messages

  • Introduction
  • Toast
  • Popping a Toast
  • Advanced Toast
  • Status Bar Notification
  • Advantages of Status Bar Notification
  • Steps to Create a Status Bar Notification
  • Posting the Notification
  • Using a Utility Method
  • Additional Notes
  • Using Dialogs
  • AlertDialog
  • Handling Button Click Events
  • ProgressDialog
  • Setting Progress Amount
  • Summary

Chapter 2. Advanced GUI Development

  • Spinner View
  • Creating a Spinner
  • Handling Item Selection Event
  • The ListView
  • Creating a ListView
  • Handling ListView Events
  • The Adapter Model
  • Custom Adapter Class
  • Example Adapter
  • Using an Adapter
  • Using a Custom Row Layout
  • ViewFlipper
  • Tabbed UI Layout
  • Creating Tabbed UI
  • Defining the Tabbed Layout
  • Creating the Tabs with View Content
  • Add a Tab with Activity Content
  • WebView
  • WebView Methods
  • Summary

Chapter 3. 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 4. 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 5. Content Provider

  • Introduction
  • Use of URL
  • The Structure of Data
  • MIME Type
  • Creating a Content Provider
  • Implement the query() Method
  • Example query() Method
  • Implement the insert() Method
  • Example insert() Method
  • The update() and delete() Methods
  • Implement getType()
  • Registering a Provider
  • Writing a Data Consumer
  • Performing a Query
  • Example Query by a Consumer
  • Example: Inserting Record
  • Summary

Chapter 6. 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 7. Background Task Processing and Service

  • Introduction
  • The Handler Framework
  • The Basic Approach
  • Creating a Handler
  • Posting a Message
  • Doing Background Work
  • AsyncTask
  • Callback Methods of AsyncTask
  • Doing the Work
  • Starting Work
  • Getting Result from the Task
  • Updating GUI From the Task
  • Ending the Task
  • What is a Service?
  • Creating a Service
  • Example Service Class
  • Starting and Stopping a Service
  • Starting Long Running Work
  • Sending Control Messages to a Service
  • Usability Guidelines
  • Summary

Chapter 8. Multimedia Programming

  • Introduction
  • Recording Audio
  • Start Recording Audio
  • Stop Recording
  • Playing Audio
  • Playing from Raw Resource
  • Playing from a File or Network Stream
  • Stopping and Cleanup
  • Video Playback
  • Playing Video
  • Summary

Chapter 9. Broadcast Receiver

  • Introduction
  • Developing a Broadcast Receiver Component
  • Registering a Receiver
  • Broadcasting a Custom Intent
  • Summary

Chapter 10. Location Based Services

  • Introduction
  • Guidelines for Obtaining Current Location
  • Obtaining Current Location from an Activity or Service
  • Reading Location Data
  • Other Considerations
  • Proximity Alert
  • Geocoding
  • Example Geocoding and Reverse Geocoding
  • Using MapView
  • Setting up the Project
  • Showing MapView from an Activity
  • Summary

Chapter 11. Android Telephony API

  • Common Uses of Telephony API
  • Making a Phone Call
  • Sending SMS Message
  • Call and Service State
  • Monitoring Call and Service State
  • Register the Listener
  • Getting Detail Phone Information
  • Summary

Chapter 12. Testing Applications

  • Introduction
  • New Sources of Defects
  • Special Testing Considerations
  • Android Testing Framework
  • The Architecture
  • Creating a Test Project
  • Test Case Class for an Activity
  • Test Case Initialization
  • Writing a Test Case Method
  • Service Test Case Class
  • Running Test Cases
  • Useful Methods of an Activity Test Case Class
  • Additional Assertion Function
  • The TouchUtils Class
  • Developing and Testing on a Device
  • Stress Test Monkey
  • Third Party Testing Tools
  • Summary

Chapter 13. 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
We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.
Outline Course Outline
Setup Guide Lab Setup Guide

Buy on-site and customized class

Attend a public class

08/13/2012 - Ottawa
$2,275.00 Enroll

08/13/2012 - Online Virtual
$2,095.00 Enroll

08/27/2012 - Toronto
$2,275.00 Enroll

08/27/2012 - Calgary
$2,275.00 Enroll

09/10/2012 - Vancouver
$2,275.00 Enroll

09/17/2012 - Montreal
$2,275.00 Enroll

10/01/2012 - Toronto
$2,275.00 Enroll

10/15/2012 - Ottawa
$2,275.00 Enroll

10/22/2012 - Montreal
$2,275.00 Enroll

10/29/2012 - Online Virtual
$2,095.00 Enroll

11/26/2012 - Calgary
$2,275.00 Enroll

11/26/2012 - Vancouver
$2,275.00 Enroll

*Your name:

*Your e-mail:

*Phone:

*Company name:

Additional notes:

We have received your message. A sales representative will contact you soon.

Thank you!.