Android Programming

This intensive, hands-on four-day course teaches programmers how to develop activities, services, content providers, and broadcast receivers for the Android platform. Students will first learn how to create activities using views, layouts, dialogs, and menus. Next, they will learn about intents, broadcast receivers, and services. Coverage of data storage is next with chapters on preferences, files, SQLite, data adapters, and content providers. Finally, the course ends with coverage of location-based services and application publishing. This course is current to Android 2.3, Gingerbread.

Audience: Programmers with zero to six months developing applications for the Android platform.

Prerequisites: Introduction to Java or equivalent experience is required. Basic understanding of Java threads, Java inner classes and XML is recommended.

1. Course Introduction

  • Course Objectives
  • Course Overview
  • Using the Workbook
  • Suggested References

2. Getting Started

  • Android Overview
  • Android Architecture
  • The Dalvik VM
  • Android Components
  • Android Development Environment
  • A Simple Android Application
  • The Android Emulator
  • User Interface Layouts
  • Android Event Handlers
  • LogCat

3. Activities

  • Creating an Activity
  • Activity Lifecycle
  • Callback Methods
  • Resource Conservation
  • Intents
  • AndroidManifest.xml
  • Packaging

4. Resources

  • Alternative Resources
  • R.java
  • String Resources
  • StringArrays
  • Boolean and Integer Resources
  • Color and Dimension Resources
  • Style Resources
  • Image Resouces
  • System Resources
  • Localization
  • Format Strings

5. Views and Event Handlers

  • Views and ViewGroups
  • Common Properties
  • Text View
  • Edit Text
  • TextChanged Events
  • Button
  • Check Box and Toggle Button
  • Radio Group and Radio Buttons
  • DatePicker
  • ProgressBar and RatingBar
  • Threads and Handlers
  • AsyncTask

6. Layouts

  • Linear Layout
  • FrameLayout
  • RelativeLayout
  • Table Layout
  • Combining Layouts
  • Scrolling
  • Screen Orientation Changes
  • Graphical Layout Tool
  • Android Programming

7. Dialogs

  • Toast
  • Custom Toast
  • Dialogs
  • Dismissing a Dialog
  • AlertDialog
  • AlertDialog Buttons
  • AlertDialog Items
  • Custom Dialogs
  • ProgressDialog
  • DatePickerDialog

8. Menus

  • Menus and Menu Items
  • OptionsMenu
  • Reacting to Menu Item Selections
  • ContextMenu
  • Submenus
  • CheckBoxes and Radio Buttons in Menu Items

9. Intents and Broadcast Receivers

  • Android Components
  • Explicit Intents
  • Passing Extra Data to an Intent
  • Activities with Results
  • Implicit Intents
  • Intent Filters
  • Intent Filter Actions and Categories
  • Intent Filter Data
  • Broadcast Receivers
  • Registering Broadcast Receivers Programmatically
  • Registering Broadcast Receivers via the Manifest
  • Broadcasting Intents

10. Services

  • What is a Service?
  • Defining a Service: Extend IntentService
  • Defining a Service: Extend Service
  • Registering and Starting a Service
  • Stopping a Service
  • Creating a Bound Service
  • Binding to a Service
  • Remote Bound Services
  • Call a Remote Service
  • Service Lifecycle

11. Notifications

  • Notifications
  • Notification
  • Pending Intents
  • NotificationManager
  • Updating a Notification
  • Notification Fields

12. Data Storage: Preferences and Files

  • The Android File System
  • Preferences
  • Creating Preferences
  • Reading Preferences
  • Updating and Deleting Preferences
  • Using PreferenceScreen
  • Manage Preferences with PreferenceActivity
  • Working with Files
  • openFileInput() and openFileOutput()
  • The cache Directory
  • ExternalStorage
  • RawResource Files

13. Data Storage: SQLite Database

  • SQLite
  • Android SQLite Classes
  • Executing SQL Statements
  • The raw query() and query Methods
  • Cursors
  • Managed Cursors
  • Encapsulate Data Access with an Adapter
  • Using SQLiteOpenHelper
  • Managing Database Upgrades
  • Inserting and Updating Data
  • Deleting Data
  • Transactions

14. Data Adapter Widgets

  • Data-Driven Adapter Controls
  • Adapters
  • ArrayAdapter
  • CursorAdapter
  • SimpleCursorAdapter
  • ListView
  • ListActivity
  • AdapterView Events
  • Gallery and GridView
  • Spinner
  • AutoCompleteTextView
  • The ViewHolder Pattern

15. Sharing Data with Content Providers

  • Content Providers
  • Content URIs
  • Built-In Content Providers
  • Contacts
  • Sharing Your App’s Data
  • Registering your Content Provider

16. Location-Based Services

  • LocationManager and LocationListener
  • Registering a LocationListener
  • Location
  • Permissions
  • Determining Distance and Bearing
  • Geocoding and Reverse Geocoding
  • Proximity Alerts
  • Using Google’s Map Service
  • Displaying a Google Map with MapView
  • MapController and GeoPoint
  • Overlays
  • Adding Overlays on a Map

17. Publishing an Application

  • Publishing
  • Packaging and Signing
  • Distribution
  • Updates

To Hire a proven Android Programming Subject Matter Expert and Instructor who also teaches this class, call 800-798-3901 today!

Leave a Reply