Android Application Development Training Course

Public Classroom

Summary

Android Application Development Training Course

Android training in Application Development is a hands-on Android course designed to provide essential skills and experience with developing applications on Android mobile platform. This course is best suited for Java developers who are seeking a fast track to the Android API and best practices. Throughout the course, the students develop a real-life application, which can serve as a basis for their future Android projects. Eclipse and Android SDK are used as the development environment throughout the class.

Duration

2 days

Course Objectives

By the completion of the course you should be able to:

  • Build and deploy your own Android applications.
  • Understand how Android applications operate – application lifecycle, configuration files, intents, and activities.
  • Have a good working understanding of Android UI – components, layouts, event handling, and screen orientation.
  • Have a working knowledge of Android custom UI elements and positioning
  • Have a solid understanding of Android services and broadcast receivers
  • Understand Android networking capabilities, including Java Sockets, Java XML, and JSON.
  • Develop a basic Android application that serves as a working example of the topics covered in class.

Audience

This course is for anyone who wants to obtain a solid understanding of what Android is and how to develop applications using Android as the platform. Previous experience with Java is required.

Pre-requisites

You must have a hands-on experience with Java programming language. If you don’t have one, we recommend enrolling in our 3-day Java for Android training course, which provides the necessary Java foundation for this class.

The android development tools are freely available and easy to install. You can use any major platform such as MAC OSX, LINUX or Windows. Visit http://developer.android.com/sdk and download the ADT bundle appropriate for your platform.

Outline

Day 1

Introduction

  1. Welcome
  2. Android Who, What, When, Where
  3. Google Play (Market, etc)
  4. Android Versions
  5. Android Devices
  6. Architecture Framework Overview
  7. Native vs Web applications

Hello, World!

  1. Development Environment
  2. ADT Bundle Contents
  3. Eclipse, SDK and AVD manager
  4. Students perform following steps with instructor
    1. Create AVE/Emulator
    2. Create New Project
    3. “Hello, World” (run in emulator)
    4. Deploy to Android device (if available)
  5. Review freshly created project organization
    1. Application Manifest
    2. “res” directory
    3. “src” directory

The Activity

  1. Introduce key android components
  2. Activity and View classes
  3. Activity life cycle
  4. Sample layout file
  5. Button, TextView, EditText, ImageView
  6. View attributes
  7. View events and listeners
  8. Activity navigation (Intent)
  9. Parameters between Activities
    1. Parent invokes child
    2. Child returns update
  10. Styles/Themes
  11. Android Debug Bridge (ADB)
  12. Android logging
  13. Demonstration

Lab Assignment 1

  1. Create multiple activity application

Resource Directory

  1. String resources
  2. I18N/L10N & Locale bundle
  3. Design for table and phone
  4. Device orientation (portrait vs landscape)
  5. API 13 and later
  6. ViewGroups (Layouts)
  7. View size and position
  8. AbsoluteLayout
  9. FrameLayout
  10. LinearLayout
  11. RelativeLayout
  12. TableLayout
  13. SlidingDrawer
  14. TabWidget
  15. ScrollView
  16. Demonstration

WxTrax Assignment

  1. Design and implement multiple Activity framework

Day 2

Widget Tour

  1. Clocks (Analog and Digital)
  2. CheckBox
  3. DatePicker, TimePicker
  4. ImageButton
  5. SeekBar, ProgressBar
  6. RadioGroup
  7. RatingBar
  8. ToggleButton
  9. WebView/WebViewClient
  10. Demonstration

Fragments and ActionBar

  1. Why Fragments?
  2. Fragment design
  3. Fragment life cycle
  4. Fragment and Activity
  5. Fragment Example
  6. ActionBar Introduction
  7. ActionBar and Activity
  8. ActionBar and Fragment
  9. ActionBar and BackStack
  10. ActionItems
  11. Compatibility
  12. Demonstration

Lab Assignment 3 – WxTrax

  1. Add ActionBar
  2. Add Fragments
  3. Add Menu

File I/O and User Preferences

  1. Sandbox and “Rooted” systems
  2. File system introduction
  3. Internal file system
  4. External file system
  5. File I/O
  6. User Preferences
  7. PreferenceActivity
  8. PreferenceFragment
  9. Demonstration

Network Operations (SMS, JSON, XML)

  1. Android radios
  2. Android sockets
  3. HTTP review
  4. REST review
  5. Security Certificates
  6. HTTP Client
  7. Simple HTTP get
  8. JSON review
  9. Android JSON support
  10. XML review
  11. Android XML support
  12. XML parse example
  13. ConnectivityManager
  14. TelephonyManager
  15. RoboDialing
  16. SMS generation
  17. SMS receive
  18. Demonstration

Lab Assigment 4 – WxTrax

  1. Add Menus
  2. Add UserPreferences
  3. Add XML collection/parsing