Java Essentials for Android Development

$2,495.00


  • Classroom

  • Onsite
Duration: 5 Days

In this course, you will learn the basics of Object-Oriented Programming (OOP) as well as understanding the syntax, terminology, and class libraries behind Java.

What You Will Learn

 

  • Basic concepts of Java
  • How Java communicates across the Internet
  • Building a simple Android application

Audience

 

Anyone who wants to learn the basics of Java for Android development

Prerequistes

 

A practical working knowledge of Mac OS X

Course Outline

 

1. Getting Started with Java

  • Object-Oriented Programming
  • Objects and Classes
  • Attributes and Behavior
  • Organizing Classes and Class Behavior

2. The ABCs of Programming

  • Statements and Expressions
  • Variables and Data Types
  • Comments
  • Literals
  • Expressions and Operators
  • String Arithmetic

3. Working with Objects

  • Creating New Objects
  • UsingClass and Instance Variables
  • Calling Methods
  • References to Objects
  • Casting Objects and Primitive Types
  • Comparing Object Values and Classes

4. Lists, Logic, and Loops

  • Arrays
  • Block Statements
  • If Conditionals
  • Switch Conditionals
  • The Ternary Operator
  • For Loops
  • While and Do Loops
  • Continuing and Breaking Out of Loops

5. Creating Classes and Methods

  • Defining Classes
  • Creating Instance and Class Variables
  • Creating Methods
  • Creating Methods with the Same Name
  • Constructors
  • Overriding Methods

6. Packages, Interfaces, and Other Class Features

  • Modifiers
  • Static Variables and Methods
  • Final Classes, Methods and Variables
  • Abstract Classes and Methods
  • Packages
  • Creating Your Own Packages
  • Interfaces
  • Creating and Extending Interfaces
  • Inner Classes

7. Exceptions and Threads

  • Exceptions
  • Managing Exceptions
  • Declaring Methods that Might Throw Exceptions
  • Creating and Throwing Your Own Exceptions
  • When to Use Exceptions
  • Threads

8. Data Structures

  • Moving Beyond Arrays
  • Java Structures
  • Generics

9. Working with Swing

  • Creating an Application
  • Working with Components
  • Lists
  • Swing Features

10. Arranging Components on a User Interface

  • Basic Interface Layout
  • Mixing Layout Managers
  • Card Layout
  • Grid Bag Layout

11. Responding to User Input

  • Event Listeners
  • Working with Methods

12. Creating Java2D Graphics

  • The Graphics2D Class
  • Drawing Text
  • Color
  • Drawing Lines and Polygons

13. Developing Swing Applications

  • Java Web Start
  • Using Java Web Start
  • Improving Performance with SwingWorder

14. Working with Input and Output

  • Streams
  • Byte Streams
  • Filtering a Stream
  • Character Streams
  • Files and Paths

15. Serializing and Examining Objects

  • Object Serialization
  • Inspecting Classes and Methods with Reflections

16. Communicating Across the Internet

  • Java Networking
  • The java.nio Package

17. Accessing Databases with JDBC 4.1 and Derby

  • Java Database Connectivity

18. Reading and Writing RSS Feeds

  • Using XML
  • Designing an XML Dialect
  • Processing XML with Java
  • Processing XML with XOM

19. XML Web Services

  • Introduction to XML-RPC
  • Communicating with XML-RPC
  • Choosing an XML-RPC Implementation
  • Using an XML-RPC Web Service
  • Creating an XML-RPC Web Service

20. Writing a Simple Android App with Java

  • Writing an Android App
  • Running the App

Course Labs