Java Fundamentals for Android Developer
Table of Contents :
Introduction
Intended Audience
Lesson 1: Java Basics
Introduction
Java Programming Language
Java Virtual Machine
JDK and JRE
Setting up your machine for Java programming
Hello World in Java
Using a text Editor
Using an IDE
Java Primitive Data Type
Naming
Arrays
Control Flow
If/Else and Switch
Switch statement
While loop
For Loop
Lab 1
Lesson 2: Object Oriented Programming
Introduction
Object Oriented Programming
Objects
Classes
Getters and setters
Inheritance
Keywords this and super
Interface
Access Modifiers
Constructors
Method overriding and overloading
Polymorphism
Lab 2
Lesson 3: More Java Programming
Introduction
Exceptions
Java Collections
Interfaces
Implementations
Lab 3
Introduction
Nested Classes
Benefits of inner classes
Class Variables (static)
Class Methods
Enumerated types
Serialization
Deserializing
Lab 4
Android Application Development
Lesson 1: Hello Android Framework
- Introduction
- Creating an Android Project
- Within Eclipse
- From Command line
- Running Your Application
- Running you project on the emulator
- Components of an Android application
- Application Life-cycle
- Modifying created project
- Change activity’s name
Lesson 2: Android SDK Tools and Activity Class
- Android Software Layers
- Linux kernel
- C/C++ Libraries
- Android Runtime
- Application Framework
- Application layer
- Android Libraries
- The Android Manifest File
- Structure of the Manifest File
- Android SDK Tools
- Activity life-cycle through Java
- Create an Activity
- Methods to remember
Lesson 3: ListActivity and ListView
- Introduction
- Views
- Using Views
- Adding a View to your application
- List Views and List Activity
- Using a ListActivity
- Adding ListView
- Add Event to List Items
- Summary
- Methods to remember
Lesson 4: Intents and Intent filters
- Introduction
- Intents
- Explicit Intents
- Implicit Intents
- Native Android Actions
- Data Transfer
- Intent to Call Activities
- Direct calls
- Sub-activities: Calling Activities for Results
- Register an IntentFilter
- Methods to remember
Lesson 5: Custom Views
- Introduction
- Different Uses of Customized Views
- Modify Existing Views
- Step by Step
- What is in onDraw()
- The full picture
Lesson 6: Dialogs and Toasts
- Dialogs
- Dialog sub-classes
- Creating dialogs with user-defined layout
- Activities with Dialog Theme
- Toasts
- Methods to remember
Lesson 7: More UI - Options Menu, Context Menu, and WebView
- Introduction
- Menus
- Building a menu from Java code
- Building a menu from a resource file
- Handle Select Events
- Sub-menus
- Context Menus
- Handling Context Menu Selection
- Additional Menu Item options
- Checkboxes and Radio Buttons
- Shortcut Keys
- Condensed Titles