Zhao Yazhi: Android Syllabus

Source: Internet
Author: User

Underlined for the specific content of the link address, click to jump, I hope to give you some modest force, is still in the finishing

Teaching Chapters

Teaching Content

Hours arrangement

Note

1

Android Quick Start

2

Android Simulator with common commands

3

Android User Interface design

4

Android network communication and open source framework reference

5

Threading and Message Processing

6

Data storage and access

7

Android basic Unit app activity

8

Android App Core Intent

9

Resource access

10

ContentProvider for data sharing

11

Broadcastreceiver

12

Service services

13

Animation animation

Multimedia

Ii. Outline Content

Chapter One Android Quick Start

      1. What is 3G

      • Three standard of wireless interface

      2. Why engage in Android development

      • Smart phone Format Analysis
      • Smart Phone software platform
      • Smart phone screen Size analysis
      • Market share

      3. What is Android

      • Historical background
      • Android Evolutionary history
      • Android architecture
      • Dalvik VM and JVM comparisons

      4. Build Android Development environment

      • System Requirements
      • Download of JDK
      • Installation of the JDK
      • Download and install the Android SDK

      5. First Android Program

      • Create an Android app
      • Android Project Structure description
      • Run the Android app
      • Debugging Android Apps
      • Android App Development process

    • Example 1:helloworld
    • Example 2: Making a phone call
    • Example 3: Texting 1
    • Example 4: Texting 2
    • Example 5: Sending MMS

Description and Requirements:

Focus: Android features, Android architecture, build Android development environment, Android project structure description, Android app development process

Difficulty: Android Project structure

Teaching Goal: 1, understand the status of Android Market, 2, understand what android;3, build Android development environment; 4. Learn Android project structure through the first Android program master running Android program and debugging Android program; 5 Mastering the Android app development process

Chapter II Android Simulator with common commands

    1. 1. Using the Android emulator
      1. Simulator overview
      2. Android Virtual devices and simulators
      3. Android Simulator start and stop
      4. Control simulator
      5. Android 4.0 Simulator Introduction
      6. Simulator Limitations
      • Example 1: Setting the emulator language
    2. Common commands in 2.SDK
      1. ADB command
      2. Android command

Description and Requirements:

Focus: Create Android virtual machines, Android virtual machine differs from real computer, control simulator, adb command

Difficulty: Control simulator, ADB common commands

Teaching objectives: 1, master the creation of the simulator and use; 2. Understand the difference between simulator and real machine; 3. Master the common command of ADB

Chapter III User Interface design

    1. 1. Control UI Interface
      1. use XML control UI interface
      2. control UI interface in code
      3. using XML and Java code blending control UI Interface
    2. 2. Layout manager
      1. linear layout
      2. relative layout
      3. absolute layout
      4. frame layout
        1. frame Layout overview
        2. frame Layout life The sub-layout of the period
        3. frame layout changes
        4. frame layout dynamic add
    3. 3. Basic Components
      1. text box and edit box
      2. Button
      3. radio buttons and check boxes
      4. progress bar
      5. Image View
      6. dialog Box
      7. List View
        1. baseadapter
        2. simpleadapter
        3. simplecursoradapter
        4. Arrayad Apter
      • example 1:android multithreaded download with progress bar
      • Example 2: Open dialog
      • Example 3: Using Baseadapter implementation Contact List
      • Example 4: Implementing a contact list using Simpleadapter
    4. Example 5: Implementing a contact list with Simplecursoradapter
    5. Example 6: Implementing a contact list with Arrayadapter
    • Case 1: Linear layout for landing effect
    • Case 2: Relative layout to achieve landing effect
    • Case 3: Absolute layout for landing effect
    • Case 4: Change the layout with fragment
    • Case 5:fragment Dynamic Add implementation

Description and Requirements:

Focus: Using XML to control UI interface, linear layout, relative layout, frame layout, text box and edit box, buttons, Radio box and check box, List view

Difficulty: Frame layout, List view

Teaching Goal: 1, master Two kinds of control UI layout; 2, master the horizontal layout and vertical layout of the linear layout, 3, master the relative layout; 4, master the dynamic addition of frame layout; 5, master Android basic components and click event Handling 6, master list view

Fourth Chapter network programming and open source Framework reference

    1. Accessing the network over HTTP
      1. Accessing the network using HttpURLConnection
      2. Accessing the network using HttpClient
      • Example 1:login login case use httpurlconnection GET request and POST request
      • Example 2:login login case use httpclient GET request and POST request
    2. Referencing the open source framework
      1. About GitHub
      2. GitHub Open Source Project download
      3. GitHub Use Help
      4. GitHub sample
      • Example 1: Referencing the open source framework to process get/post requests through asynchttpclient
      • Example 2: Referencing the open source framework for file uploads via Asynchttpclient
      • Example 3: Referencing the open source framework to implement a network picture viewer through Asynchttpclient
      • Example 4: Referencing the open source framework to view Web page source code through Asynchttpclient
      • Example 5: Get JSON data from the open source framework

Description and Requirements:

Focus: Use HttpURLConnection to access the network, use HttpClient to access the network, Android multi-threaded download, handler Message Queuing, GitHub open source framework use

Difficulty: Android multi-threaded download, open source Framework asynchttpclient use

Teaching Objectives: 1, the two ways to master the HTTP access to the network; 2. Download and apply the Open source framework on GitHub

Chapter fifth threading and Message processing

    1. Implementing multithreading
      1. Creating Threads
      2. Open Thread
      3. The sleep of a thread
      4. Break Thread in
      • Example:java multi-threaded download porting to Android client
      • Example:android multi-threaded download with progress bar
    2. Handler message delivery mechanism
      1. Introduction to Circulator (Looper)
      2. Introduction to Message Processing classes (Handler)
      3. Introduction to Message classes (messages)
      • Example: Login login using handler processing

Description and Requirements:

Focus: Implement multi-threaded download, handler message mechanism delivery

Difficulty: Multi-threaded download

Teaching objectives: 1, master multi-threaded download; 2, master handler message delivery mechanism

Chapter sixth data storage and access

1. File storage

Three modes of file storage

Using files for data storage

Read File contents

Parsing an XML file using sax

Parsing an XML file using the DOM

Parsing an XML file with pull

Put the file on the SD card

2.SharedPreferences

Using Sharedpreferences for data storage

Accessing data in the Sharedpreferences

3. Using the SQLite database

Database creation and version management

Using Sqlitedatabase to manipulate SQLite databases

Using Sqliteopenhelper to manipulate SQLite databases

Transaction processing

4. Content providers

5. Network

Description and Requirements:

Focus: Parsing XML files using SAX, parsing XML files using the DOM, parsing XML files with pull, using sharedpreferences for data storage, accessing data in Sharedpreferences, database creation, database versioning, Use Sqlitedatabase to manipulate SQLite database, use Sqliteopenhelper to manipulate SQLite database, transaction processing

Difficulty: Three kinds of parsing methods of XML file, using Sharedpreferences to store data and reading data, creating and updating database, database transaction processing

Teaching objectives: 1, master the use of Sax,dom,pull three ways to parse the XML file, 2, master the use of sharedpreferences storage data and data read, 3, master the creation of SQLite database and update; 4, Master SQLite database using Sqlitedatabase and sqliteopenhelper two ways to query data

Seventh Android basic Unit app activity

    1. Activity Overview
      1. Activity Overview
      2. Activity life cycle
      3. Activity four modes of loading
      4. Activity Display Form
      5. Create activity
      6. Configure activity
    2. Use of multiple activity
      1. Use bundler to exchange data between activity
      2. Call another activity and return the result
    3. Android Test class
      1. Log logs
      2. Write a test class in the same class
      3. Write test classes in different projects
      4. Example 1: Creating a test class in the same project
      5. Example 2: Creating a test class in a different project

Description and Requirements:

Focus: Activity lifecycle, activity four load modes, exchange data between activity, activity return results, add fragment in activity, implement fragment switch in activity

Difficulty: Activity life cycle, activity loading mode, multiple activity with value jump

Teaching Goal: 1, master activity life cycle, 2, master activity four loading mode, 3, master activity's creation and close, 4, master use Bundler to exchange data between activity; 5, Master activity with value transfer and return value; 6, Master in activity add fragment;7, master fragment create and switch

Eighth Android Application Core intent

    1. Intent Object
      1. Component Name (Component name)
      2. Actions (Action)
      3. (data)
      4. Category (category)
      5. Extra (Extras)
      6. Flags (Flags)
    2. Intent and activity interaction
      1. Two ways to intent the accompanying data
      2. Two forms of intent
      3. Intent Pass Value
      4. Receive the parameters passed by the previous activity in the new activity
      5. Gets the data returned after the new open activity is closed
      6. Request Code
      7. Result code
      • Example 1: Character calculator
      • Example 2: Phone book Select contacts
    3. Bundler

Description and Requirements:

Focus: Intent with data transfer, intent explicit, intent implicit intent, accept activity data, get closed activity data, request code, result code

Difficulty: Intent value pass, intent value receive

Teaching Goal: 1, master intent two kinds of value transmission; 2. Master the data transmitted by the activity

Chapter Nineth Resource Access

    1. string resource
      1. Defining string resource Files
      2. Using string resources
    2. Color Resource
      1. Definition of color values
      2. Define a color resource file
      3. Working with color resources
    3. drawable Resources
      1. Picture Resources
      2. Use the 9-patch picture to achieve a true button background
    4. Style (style) and theme (theme) resources
      1. Style resources
      2. Topic Resources
    5. Raw XML Resource 252
      1. Menu Resource 253
      2. Example 1: Referencing a style resource file modifying a theme to full screen
    6. Androidmanifest.xml detailed

Description and Requirements:

Focus: string resource files, drawable resources, styles, and theme resources

Difficulty: Style and theme resources, using 9-patch picture to implement the background without losing the true button

Teaching Objective: 1, grasp the definition and use of string resources, 2, master the definition and use of color resources, 3, master the definition and use of drawable resources, 4, master the definition and use of the style and theme resources;

The tenth chapter ContentProvider realizes the data sharing

    1. Content Provider Overview
      1. URI Introduction
      2. Action URI
      3. Configuring Content Provider
    2. Share data with content provider
      1. Querying data
      2. Add record
      3. Add New value
      4. Batch update records
      5. Deleting records
    3. Share data with contentresolver operations
      1. Querying data
      2. Add record
      3. Add New value
      4. Batch update records
      5. Deleting records
    4. customizing content Provider
      1. Inheriting the ContentProvider class
      2. Declaring content provide
      3. Example:

Description and Requirements:

Focus: URI Introduction and operation, configuring content Provider, sharing data through content Provider, sharing data through contentresolver operations, customizing content Provider

Difficulty: Share data through content provider, share data through contentresolver operations

Teaching objectives: 1, master the URI components and definitions; 2, master the configuration content provider sharing data, 3, master through the content provider share data; 4, master the sharing of data through Contentresolver operation ; 5. Mastering the Custom content Provider

11th Chapter Broadcastreceiver

    1. Register Broadcastreceiver
      1. Dynamic registration
      2. Static registration
    2. Broadcastreceiver Type and transceiver
      1. Broadcast type
      2. General broadcast
      3. Asynchronous broadcast
      4. Orderly broadcast
      5. Broadcast Transceiver
      • Case 1: Boot start service
      • Case 2: Network Change status
      • Case 3: Power change
      • Case 4: SMS Monitoring
      • Case 5: Telephone monitoring
Description and Requirements:
Focus: Register Broadcastreceiver,broadcastreceiver three types, broadcastreceiver receive and send
Difficulty: Broadcastreceiver Receive and send
Teaching Goal: 1, master broadcastreceiver Two kinds of registration way; 2, master broadcastreceiver three kinds; 3, master Broadcastreceiver receive and send

Chapter 12th Service Services

    1. 1.Service Overview
      1. Classification of service
      2. Important methods in the service class
      3. Ervice's statement
      4. Service life cycle
      5. Sign up for service
    2. 2. Create a started Service
      1. Inheriting the Intentservice class
      2. Inheriting the service class
      3. Start the service
      4. Stop Service
    3. 3. Create a bound Service
      1. Inheriting binder Classes
      2. Using the Messenger class
      3. Binding to a service

Description and Requirements:

Focus: Register the Service,service life cycle, create a started service, create a bound service

Difficulty: Service life cycle, Started service,bound service

Teaching Goal: 1, master the Service registration method; 2, master create started service;3, master create bound service

13th Chapter Animation Animation

    1. Frame by Frame animation
    2. tweened Animation Animation
      1. Alpha Gradient Transparency Animation effect
      2. Scale gradient dimension stretch animation effect
      3. Translate picture conversion position move animation effect
      4. Rotate picture Transfer rotation animation effect

Description and Requirements:

Focus: Frame by frame animation, defining transparency in XML resource files, resizing, moving, rotating four animations, defining transparency with javacode, resizing, moving, rotating four animations

Difficulty: Frame by frame animation jump activity, defined in the XML resource file transparent, size scaling, moving, rotating four kinds of animation, with Javacode definition transparent, size stretching, moving, rotating four kinds of animation

Teaching Goal: 1, master frame by frame animation, 2, master tweened animation;

III. teaching materials and main reference books

1. Xiang Yurong Android Programming Basics Beijing Jiaotong University Press, October 2011

2. Wang Shijiang adaptation Google Android Development Guide (2nd edition) People's Post and Telecommunications publishing house November 2009

3. Liu Wenbin Android UI Basic Tutorial people post and Telecommunications publishing house October 2012

4. Sun update, Shaochang, Bing Sheng Android from the introduction to proficient in the electronics industry publishing house October 2011

5. Li Gang's Crazy Android Handout (2nd edition) Electronics publishing house March 2013

6. Yan Chanlang, Shan Android Development Introduction and Combat (2nd edition) People's Post and telecommunications publishing house June 2013

7. Wu Shanhai Android Framework Secret people post and Telecommunications publishing house April 2012

8. Yang Yunjun Android design and implementation mechanical industry press, May 2013

9. Ching Android App UI design mode people post and Telecommunications publishing house December 2013

10. Wuya Android Application Case Development Daquan (second edition) People's Post and Telecommunications publishing house September 2011

11. Jiang Jianwei Translation ANDROID 4 Advanced Programming Tsinghua University Press April 2013

Revision/Development Person: Auditor:

Revision/date of establishment: 2013 month

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.