Learn your way! Get started

Android Development Using Mono for Android 1

with expert Wallace McClure


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack
  • Power Pack Plus

Release date Release date 9/2/2011
Level Level Intermediate
Runtime Runtime 4h 19m
Closed captioning Closed captioning N/A
Transcript Transcript N/A
eBooks / courseware eBooks / courseware N/A
Hands-on labs Hands-on labs N/A
Sample code Sample code Included
Exams Exams Included


Enterprise Solutions
Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

The smart phone is quickly becoming a necessary tool for employees and customers alike. It has become necessary for highly mobile businesses to adopt this new technology. This course will show how to create applications for the Android OS, found on both smart phones and tablets, using Mono for Android. Mono for Android is an add-on for Visual Studio 2010 using C# and the.NET framework to build applications for the Android OS instead of coding in the native Java code. The course will start with an introduction to the Android OS and platforms then do an introduction to the MONO development environment. Then move onto basic UI design, screen controls and SQLite. The course follows up with the subjects of remote data, location services and Geocoding.

Prerequisites

This course assumes that you are comfortable developing applications using Visual Studio 2010 and C#. Mono Android requires Visual Studio 2010 Professional or higher (and will not work with Visual Studio Express editions).

Meet the expert

Wallace McClure Wallace McClure specializes in building applications that have large numbers of users and large amounts of data as well as user interface specific technologies such as AJAX, iPhone, and Android. He is a Microsoft MVP, ASPInsider, and a partner in Scalable Development, Inc. Wally has authored books on iPhone Programming with Mono/MonoTouch, Android Programming with Mono for Android, application architecture, ADO.NET and SQL Server, and finally AJAX.


Course outline



Module 1

Introduction to Android (24:55)
  • Introduction (01:06)
  • Android History (01:13)
  • Where are we at? (00:51)
  • Mobile Development Issues (00:53)
  • Why Android? (00:42)
  • What is Mono for Android? (03:26)
  • Current Status (00:45)
  • What Mono for Android is Not (00:41)
  • How do users get the Framework (00:46)
  • What about Silverlight? (00:38)
  • Editions (00:40)
  • Let"s get started Installing (02:01)
  • Terms (01:19)
  • Creating a New Project (01:28)
  • Project Settings (00:36)
  • Code (00:35)
  • Mono for Android Settings (00:28)
  • Design Surface (01:15)
  • Select Device (00:22)
  • Starting Emulator (00:28)
  • Emulator (00:51)
  • Developer View (00:35)
  • Mono Runtime (00:11)
  • Hey, Your Apps are Big! (00:46)
  • Debugging (00:44)
  • Device Logging (00:12)
  • Error Message (00:21)
  • DDMS Debugging (00:30)
  • Summary (00:19)
Getting Started (17:16)
  • Introduction (00:20)
  • Demo: Mono for Android (01:47)
  • Demo: Set Content View (07:30)
  • Demo: Android SDK (04:11)
  • Cross Platform (01:56)
  • Strategy (01:16)
  • Summary (00:12)
Application Life Cycle (14:46)
  • Introduction (00:25)
  • Parts of an Application (01:01)
  • AndroidManifest.xml (02:18)
  • ApplicationManifest (01:00)
  • Application Life Cycle (00:18)
  • Application States (01:34)
  • Activity Life Cycle (01:59)
  • Activity Event Handlers (00:31)
  • Demo: Activity Event Handlers (03:59)
  • Types of Activities (00:54)
  • What"s in an APK File? (00:30)
  • Summary (00:12)

Module 2

User Interface Controls (09:48)
  • Introduction (00:29)
  • Emulator (00:18)
  • Issues (01:35)
  • New Terms (00:29)
  • Layouts (01:29)
  • ViewGroups (00:45)
  • Buttons (00:18)
  • TextView - Label (00:17)
  • EditText - TextBox (00:18)
  • Demo: TextBox (03:32)
  • Summary (00:12)
Spinner Control (11:29)
  • Introduction (00:30)
  • Spinner - Drop Downs (01:04)
  • Demo: Spinner Control (03:31)
  • Images (00:26)
  • Demo: Images (05:43)
  • Summary (00:12)
Menus, Dates and Times (12:42)
  • Introduction (00:30)
  • Menus (00:30)
  • Demo: Menus (07:53)
  • Dates & Times (00:43)
  • Demo: Dates and Times (02:49)
  • Summary (00:14)
Radio Buttons and Check Boxes (05:14)
  • Introduction (00:25)
  • Radio Button / CheckBox (00:50)
  • Demo: Radio Buttons (03:49)
  • Summary (00:09)
UI Building Help (06:40)
  • Introduction (00:25)
  • DroidDraw (00:50)
  • UI Assistance By Hand (00:48)
  • Demo: Android UI (04:22)
  • Summary (00:12)
Androidisms (14:06)
  • Introduction (00:24)
  • Problems (03:15)
  • Virtual Keyboard (02:12)
  • Demo: Virtual Keyboards (07:58)
  • Summary (00:15)

Module 3

Location Introduction (19:19)
  • Introduction (00:26)
  • How Does a Device Know where it is? (03:16)
  • Why? (01:24)
  • Location (01:31)
  • Main Location Elements (00:53)
  • Emulator (01:19)
  • Where am I - Pattern (02:17)
  • Criteria (00:40)
  • Where Am I? (00:22)
  • Demo: Location (06:52)
  • Summary (00:13)
Proximity (07:48)
  • Introduction (00:21)
  • Proximity (01:04)
  • Demo: Proximity (02:23)
  • Geocoding (00:45)
  • Demo: Forward Geocoding (03:03)
  • Summary (00:08)
Data Access (24:29)
  • Introduction (00:40)
  • Businesses Run On Data (00:44)
  • Architecture (01:17)
  • Data Terms (00:37)
  • Data Interchange Standards (00:39)
  • Limitations (01:49)
  • Web Services (00:33)
  • Web Service Options (00:48)
  • Web Services continued (00:57)
  • What is REST? (00:37)
  • REST over WCF (00:32)
  • Your WCF Interface (00:42)
  • JavaScript Object Notation (00:52)
  • XML (00:43)
  • Demo: Data Access Techniques (03:51)
  • Demo: JSON (03:23)
  • Demo: WCF (05:20)
  • Summary (00:16)
Accessing Relational Data (17:06)
  • Introduction (00:32)
  • Intra-Firewall (02:08)
  • On Device (01:18)
  • SqliteOpenHelper Pattern (00:46)
  • Problem (00:50)
  • What about ORMs? (00:50)
  • Demo: Relational Data (05:28)
  • Sharing Data is Caring (01:00)
  • Content Providers Pattern (01:42)
  • Demo: Content Provider (02:17)
  • Summary (00:12)

Module 4

ListView (14:11)
  • Introduction (00:28)
  • Displaying Data (01:30)
  • ListView Example (00:51)
  • Demo: ListView (02:44)
  • Demo: More ListView (06:44)
  • YMMV (01:39)
  • Summary (00:12)
Sensors (15:54)
  • Introduction (00:25)
  • Device Features (01:17)
  • Sensors (05:12)
  • Pattern (00:59)
  • Let"s go to an example (00:25)
  • Demo: Sensors (07:17)
  • Summary (00:17)
Vibrations (05:41)
  • Introduction (00:28)
  • Vibration (01:20)
  • Pattern (01:04)
  • Demo: Vibrating the Device (02:34)
  • Summary (00:13)
Voice Recognition (09:50)
  • Introduction (00:30)
  • Voice Recognition Pattern (00:46)
  • Demo: Voice Recognition (03:33)
  • Demo: Turn by Turn (04:42)
  • Summary (00:18)
Playing Video (06:18)
  • Introduction (00:29)
  • Play Video (00:36)
  • Support (00:43)
  • MediaPlayer (01:01)
  • Demo: Video (03:16)
  • Summary (00:12)
Android Services (11:51)
  • Introduction (00:27)
  • Android Services (01:24)
  • Scenarios (01:10)
  • Pattern (00:55)
  • Things To Do (00:37)
  • Start on Boot (00:42)
  • When Should the Service Do Something? (01:03)
  • Demo: Android Services (05:11)
  • Summary (00:19)
Threading (09:38)
  • Introduction (00:34)
  • Asynch Commands (00:25)
  • Threading (02:02)
  • Demo: Threading (03:55)
  • On Device Data (00:40)
  • Scenario (01:45)
  • Summary (00:14)