Android Syllabus 346.6 KB - JavaSoft

flosssnailsΚινητά – Ασύρματες Τεχνολογίες

10 Δεκ 2013 (πριν από 3 χρόνια και 10 μήνες)

87 εμφανίσεις


©JavaSoft

(javasoftquery@gmail.com)


1

Mob
-

8971300519, 8867727851





JavaSoft
-

Android Contents

Android Syllabus

1: Getting Started with Android Programming

What Is Android?

Android Versions

Features of Android

Architecture of Android

Android Devices in the Market

The Android Market

Obtaining the Required Tools

Eclipse

Android SDK

Android D
evelopment Tools (ADT)

Creating Android Virtual Devices (AVDs)

Creating Your First Android Application

Anatomy of an Android Application


2: Activities and Intents

Understanding Activities

Applying Styles and Themes to Activity

Hiding the Activity Ti
tle

Displaying a Dialog Window

Displaying a Progress Dialog

Linking Activities Using Intents

Resolving Intent Filter Collision

Returning Results from an Intent

Passing Data Using an Intent Object

Calling Built
-
In Applications Using Intents

Understa
nding the Intent Object

Using Intent Filters

Adding Categories

Displaying Notifications



3: Android User Interface

Understanding the Components of a Screen

Views and ViewGroups

LinearLayout

AbsoluteLayout

TableLayout

RelativeLayout

FrameLayout

ScrollView

Adapting to Display Orientation

Anchoring Views

Resizing and Repositioning

Managing Changes to Screen Orientation

Persisting State Information during Changes in Configuration

Detecting Orientation Changes

Controlling the Orientation of th
e Activity

Creating the User Interface Programmatically

Listening for UI Notifications

Overriding Methods Defined in an Activity

Registering Events for Views





©JavaSoft

(javasoftquery@gmail.com)


2

Mob
-

8971300519, 8867727851





JavaSoft
-

Android Contents


4: Designing Your User Interface Us
ing Views

Basic Views

TextView View

Button, ImageButt
on, EditText, CheckBox, ToggleButton, RadioButton,

and RadioGroup Views

ProgressBar View

AutoCompleteTextView View

Picker Views

TimePicker View

Displaying the TimePicker in a Dialog Window

DatePicker View

Displaying the DatePicker View in a Dialog W
indow

List Views

ListView View

Customizing the ListView

Using the Spinner View



5: Displaying Pictures
and Menus

with Views

Using Image Views to Display Pictures

Gallery and ImageView Views

ImageSwitcher

GridView

Using Menus with Views

Creating
the Helper Methods

Options Menu

Context Menu

Some Additional Views

AnalogClock and DigitalClock Views

WebView



6: Data Persistence

Saving and Loading User Preferences

Using getSharedPreferences()

Using getPreferences()

Persisting Data to Files

Saving to Internal Storage

Saving to External Storage (SD Card)

Choosing the Best Storage Option

Using Static Resources

Creating and Using Databases

Creating the DBAdapter Helper Class

Using the Database Programmatically

Adding Contacts

Retrieving
All the Contacts

Retrieving a Single Contact

Updating a Contact

Deleting a Contact

Upgrading the Database

Pre
-
Creating the Database

Bundling the Database with an Application



7: Content Providers

Sharing Data in Android

Using a Content Provider

Pr
edefined Query String Constants

Projections

Filtering


©JavaSoft

(javasoftquery@gmail.com)


3

Mob
-

8971300519, 8867727851





JavaSoft
-

Android Contents

Sorting

Creating Your Own Content Providers

Using the Content Provider


8: Messaging and Networking

SMS Messaging

Sending SMS Messages Programmatically

Getting Feedback After Sending the Messag
e

Sending SMS Messages Using Intent

Receiving SMS Messages

Updating an Activity from a BroadcastReceiver

Invoking an Activity from a BroadcastReceiver

Caveats and Warnings

Sending E


Mail

Networking

Downloading Binary Data

Downloading Text Files

Accessing Web Services

Performing Asynchronous Calls


9: Location
-
Based Services


Displaying Maps

Creating the Project

Obtaining the Maps API Key

Displaying the Map

Displaying the Zoom Control

Changing Views

Navigating to a Specific Location

Addin
g Markers

Getting the Location That Was Touched

Geocoding and Reverse Geocoding

Getting Location Data

Monitoring a Location


10: Android Services


Creating Your Own Services

Performing Long
-
Running Tasks in a Service

Performing Repeated Tasks in a S
ervice

Executing Asynchronous Tasks on Separate Threads Using IntentService

Communicating between a Service and an Activity

Binding Activities to Services


11: INTENTS, BROADCAST RECEIVERS, ADAPTERS AND THE INTERNET

I
ntroducing Intents

Using Intents to
Launch Activities

Explicitly Starting New Activities

Implicit Intents and Late Runtime Binding

Returning Results from Activities

Native Android Actions

Using Intent Filters to Service Implicit Intents

How Android Resolves Intent Filters

Finding and Using
the Launch Intent Within an Activity

Passing on Responsibility

Select a Contact Example

Using Intent Filters for Plug
-
Ins and Extensibility

Supplying Anonymous Actions to Applications

Incorporating Anonymous Actions in Your Activity’s Menu


©JavaSoft

(javasoftquery@gmail.com)


4

Mob
-

8971300519, 8867727851





JavaSoft
-

Android Contents

Introducing Link
ify

The Native Linkify Link Types

Creating Custom Link Strings

Using the Match Filter

Using the Transform Filter

Using Intents to Broadcast Events

Broadcasting Events with Intents

Listening for Broadcasts with Broadcast Receivers

Broadcasting Sticky and O
rdered Intents

Native Android Broadcast Actions

Introducing Pending Intents

Introducing Adapters

Introducing Some Native Adapters

Customizing the Array Adapter

Using Adapters for Data Binding

Customizing the To
-
Do List Array Adapter

Using the Simple Curso
r Adapter

Using Internet Resources

Connecting to an Internet Resource

Using Internet Resources

Introducing Dialogs

Introducing the Dialog Classes

The Alert Dialog Class

Specialist Input Dialogs

Using Activities as Dialogs

Managing and Displaying Dialog
s


12
: INVADING THE PHONE
-
TOP

Introducing Home
-
Screen Widgets

Creating App Widgets

Creating the Widget Layout

Widget Design Guidelines

Supported Widget Views and Layouts

Defining Your Widget Settings

Creating Your Wid$get Intent Receiver and Adding I
t to the

Application Manifest

Introducing Remote Views and the App Widget Manager

Creating Remote Views and Using the App Widget Manager to Apply Them

Using a Remote View within the App Widget Provider’s onUpdate Handler

Using Remote Views to Modify UI

Ma
king Your Widgets Interactive

Refreshing Your Widgets

Using the Minimum Update Rate

Listening for Intents

Using Alarms

Creating and Using a Widget Configuration Activity

Adding Search to Your Applications and the Quick Search Box

Adding Search to You
r Application

Creating a Search Activity

Responding to Search Queries from a Content Provider

Surfacing Search Results to the Quick Search Box


1
3
: AUDIO, VIDEO, AND USING THE CAMERA

Playing Audio and Video

Introducing the Media Player

Preparing Audio

for Playback

Packaging Audio as an Application Resource


©JavaSoft

(javasoftquery@gmail.com)


5

Mob
-

8971300519, 8867727851





JavaSoft
-

Android Contents

Initializing Audio Content for Playback

Preparing for Video Playback

Playing Video Using the Video View

Setting up a Surface for Video Playback

Initializing Video Content for Playback

Controlli
ng Playback

Managing Media Playback Output

Recording Audio and Video

Using Intents to Record Video

Using the Media Recorder

Configuring and Controlling Video Recording

Previewing Video Recording

Using the Camera and Taking Pictures

Using Intents to Ta
ke Pictures

Controlling the Camera and Taking Pictures

Controlling and Monitoring Camera Settings and Image Options

Monitoring Auto Focus

Using the Camera Preview

Taking a Picture

Reading and Writing JPEG EXIF Image Details

Adding New Media to the Me
dia Store

Using the Media Scanner

Inserting Media into the Media Store

Raw Audio Manipulation

Recording Sound with Audio Record

Playing Sound with Audio Tra
ck


1
4
: TELEPHONY AND SMS

Telephony

Launching the Dialer to Initiate Phone Calls

Replacing the
Native Dialer

Accessing Phone and Network Properties and Status

Reading Phone Device Details

Reading Data Connection and Transfer State

Reading Network Details

Reading SIM Details

Monitoring Changes in Phone State, Phone Activity, and Data Connections


Monitoring Incoming Phone Calls

Tracking Cell Location Changes

Tracking Service Changes

Monitoring Data Connectivity and Activity

Introducing SMS and MMS

Using SMS and MMS in Your Application

Sending SMS and MMS from Your Application Using Intents an
d the Native Client

Sending SMS Messages Manually

Sending Text Messages

Tracking and Confirming SMS Message Delivery

Conforming to the Maximum SMS Message Size

Sending Data Messages

Listening for Incoming SMS Messages

Simulating Incoming SMS Message
s in the Emulator

Handling Data SMS Messages

Emergency Responder SMS Example

Automating the Emergency Responder


1
5
: BLUETOOTH, NETWORKS, AND WI
-
FI

Using Bluetooth

Accessing the Local Bluetooth Device Adapter


©JavaSoft

(javasoftquery@gmail.com)


6

Mob
-

8971300519, 8867727851





JavaSoft
-

Android Contents

Managing Bluetooth Properties and State

Be
ing Discoverable and Remote Device Discovery

Managing Device Discoverability

Discovering Remote Devices

Bluetooth Communications

Opening a Bluetooth Server Socket Listener

Selecting Remote Bluetooth Devices for Communications

Opening a Client Bluetooth

Socket Connection

Transmitting Data Using Bluetooth Sockets

Bluetooth Data Transfer Example

Managing Network Connectivity

Introducing the Connectivity Manager

Reading User Preferences for Background Data Transfer

Monitoring Network Details

Finding a
nd Configuring Network Preferences and Controlling Hardware Radios

Monitoring Network Connectivity

Managing Your Wi
-
Fi

Monitoring Wi
-
Fi Connectivity

Monitoring Active Connection Details

Scanning for Hotspots


16: SENSORS

Using Sensors and the Sensor

Manager

Introducing Sensors

Supported Android Sensors

Finding Sensors

Using Sensors

Interpreting Sensor Values

Using the Compass, Accelerometer, and Orientation Sensors

Introducing Accelerometers

Detecting Acceleration Changes

Creating a G
-
Forceometer

Determining Your Orientation

Determining Orientation Using the Orientation Sensor

Calculating Orientation Using the Accelerometer and Magnetic Field Sensors

Remapping the Orientation Reference Frame

Creating a Compass and Artificial Horizon

Controlling D
evice Vibration


17: ADVANCED ANDROID DEVELOPMENT

Paranoid Android

Linux Kernel Security

Introducing Permissions

Declaring and Enforcing Permissions

Enforcing Permissions for Broadcast Intents

Using Wake Locks

Introducing Android Text to Speech

Using AIDL

to Support IPC for Services

Implementing an AIDL Interface

Passing Class Objects as Parcelables

Creating the AIDL Service Definition

Implementing and Exposing the IPC Interface

Using Internet Services

Building Rich User Interfaces