Development Applications in Android Course (5 days)

tenderlaSoftware and s/w Development

Dec 13, 2013 (3 years and 8 months ago)

98 views

Development Applications in
Android

Course (5 days)


Course Introduction


General con
cepts

-

Android history

-

Java (
Android J
ava vs Sun)

-

Android vs smartphones (iPhone)

-

Android

stack architecture

o

Linux

o

Dalvik Virtual machine

o

HW Access

o

GPS and Maps

o

Other pack
ages

-

Android Source code


Development Environment

-

Eclipse

o

Advantages

o

Installation

-

Android SDK

o

Installation

o

Plug
-
In for Eclipse

o

Android Documentation

o

Android Emulator

o

Additional Tools


Developing first android application

-

Eclipse 101

-

Creating Android proje
ct and activity

-

Directory structure

-

Main files

-

“Hello World” Application


Android Main Introduction concepts

-

Main types of Android application

-

Application lifecycle

-

Android UI


in Code and XML

-

Intent

-

Services

-

Content Provider

-

Development Considerations

o

Re
sponsiveness

o

Security

o

UI


Directory Structure and Resources

-

Directory Structure

-

Manifest File

-

String Resources

-

Layout

-

Raw and XML Resources


Android Activity

-

Android Application and Activity

-

Activity Creation

-

Activity Lifetime


Android UI concepts and Wid
gets

-

UI General Concepts

-

UI Creation in Code and XML

-

Text Widgets

o

TextView


o

Edit text example

o

Auto Comp
lete Text Widget



Multi Auto Complete Text View

-

Buttons

o

Simple Button

o

Image Button

-

CheckBox


-

Radio Button and Radio Group


-

Image

-

List


-

Other Widgets


Grid Control,
Progress bar, Video View,
Analog and Digital Clocks,
DatePicker and TimePicker,
Map View

-

Layouts

o

Linear Layout




Orientation



Weight and Gravity


o

TableLayout (Optional)



See example



Attributes: strechColumns, shrinkColumns, collapsColumns,
span,
column

o

Relative Layout


o

Absolute Layout




Static Utilization

o

Frame layout


o

Some general layout concepts



Padding





4 directions



Dimension type



Supporting screen configurations

-

How to use adapters

o

General

o

ArrayAdapter

o

Cursor Adapter

-

Menu

-

Dialogs

o

A
lert Dialogs


o

Special
ized Alerts

o

Theme Dialog



2D Graphics

-

Drawing Graphics

o

ShapeDrawable


o

XML Drawing

-

Animations

o

Frame animation

o

Tweened

animation



Intents


-

Introduction

o

General Description

o

Intent Definitions

-

Launching Activities

o

Explicit Implicit ac
tivities launch

o

Returning results from Activity



Start Activity for Result



Returning results



Getting result data

o

Building Multi
-
Activity Project

o

Implicit Activity Launch



Intent
Flags

-

Implicit Intents

-

Intent Resolution

o

Action, Categories and Data

o

Matching


o

Android
Pre
-
Defined
Activities

-

Broadcasting

o

Broadcasts Producer

o

Broadcasts Consumer

o

Android ACTION Events


Storage management


-

Shared Preferences

-

File Management

o

Java I/O

o

Raw and XML Files

-

Content Providers

o

Built
-
in Data Bases

o

Tools for working with d
b


adb, shell, sqlite

o

SQLite 101

o

URI’s

o

Using Existing content providers



Using Cursor



Using “Where” Clause



Implicitly



Explicitly



Insert Operation

o

Building new content Provider



DB layout



Content provider operation implementations



URI Matcher



Provider regi
stration


Background

Operations

o

Android Services



Creation



Working with services



Binding to services

o

Threads



Creation



GUI synchronization

o

Notifications



Notification Manager



Types of notifications



Vibrations, Light and Sound notifications

o

Toasts

o

Alarms


GPS

related Services

o

GPS and Maps 101

o

Google libraries

o

Location



Location Provider



“Where Am I” example



GPS location simulation in emulator



Additional location services

o

Map services



Map View and Map Activity



Map Controller



Overlays

Multimedia APIs

o

Multimedia
101

o

Playing Audio

o

Playing Video

o

Capturing Audio

o

Basic Camera