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. Using the Android emulator
- Simulator overview
- Android Virtual devices and simulators
- Android Simulator start and stop
- Control simulator
- Android 4.0 Simulator Introduction
- Simulator Limitations
- Example 1: Setting the emulator language
- Common commands in 2.SDK
- ADB command
- 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. Control UI Interface
- use XML control UI interface
- control UI interface in code
- using XML and Java code blending control UI Interface
2. Layout manager
- linear layout
- relative layout
- absolute layout
- frame layout
- frame Layout overview
- frame Layout life The sub-layout of the period
- frame layout changes
- frame layout dynamic add
- 3. Basic Components
- text box and edit box
- Button
- radio buttons and check boxes
- progress bar
- Image View
- dialog Box
- List View
- baseadapter
- simpleadapter
- simplecursoradapter
- 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
-
- Example 5: Implementing a contact list with Simplecursoradapter
-
- 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
- Accessing the network over HTTP
- Accessing the network using HttpURLConnection
- 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
- Referencing the open source framework
- About GitHub
- GitHub Open Source Project download
- GitHub Use Help
- 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
- Implementing multithreading
- Creating Threads
- Open Thread
- The sleep of a thread
- Break Thread in
- Example:java multi-threaded download porting to Android client
- Example:android multi-threaded download with progress bar
- Handler message delivery mechanism
- Introduction to Circulator (Looper)
- Introduction to Message Processing classes (Handler)
- 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
- Activity Overview
- Activity Overview
- Activity life cycle
- Activity four modes of loading
- Activity Display Form
- Create activity
- Configure activity
- Use of multiple activity
- Use bundler to exchange data between activity
- Call another activity and return the result
- Android Test class
- Log logs
- Write a test class in the same class
- Write test classes in different projects
- Example 1: Creating a test class in the same project
- 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
- Intent Object
- Component Name (Component name)
- Actions (Action)
- (data)
- Category (category)
- Extra (Extras)
- Flags (Flags)
- Intent and activity interaction
- Two ways to intent the accompanying data
- Two forms of intent
- Intent Pass Value
- Receive the parameters passed by the previous activity in the new activity
- Gets the data returned after the new open activity is closed
- Request Code
- Result code
- Example 1: Character calculator
- Example 2: Phone book Select contacts
- 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
- string resource
- Defining string resource Files
- Using string resources
- Color Resource
- Definition of color values
- Define a color resource file
- Working with color resources
- drawable Resources
- Picture Resources
- Use the 9-patch picture to achieve a true button background
- Style (style) and theme (theme) resources
- Style resources
- Topic Resources
- Raw XML Resource 252
- Menu Resource 253
- Example 1: Referencing a style resource file modifying a theme to full screen
- 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
- Content Provider Overview
- URI Introduction
- Action URI
- Configuring Content Provider
- Share data with content provider
- Querying data
- Add record
- Add New value
- Batch update records
- Deleting records
- Share data with contentresolver operations
- Querying data
- Add record
- Add New value
- Batch update records
- Deleting records
- customizing content Provider
- Inheriting the ContentProvider class
- Declaring content provide
- 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
- Register Broadcastreceiver
- Dynamic registration
- Static registration
- Broadcastreceiver Type and transceiver
- Broadcast type
- General broadcast
- Asynchronous broadcast
- Orderly broadcast
- 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.Service Overview
- Classification of service
- Important methods in the service class
- Ervice's statement
- Service life cycle
- Sign up for service
- 2. Create a started Service
- Inheriting the Intentservice class
- Inheriting the service class
- Start the service
- Stop Service
- 3. Create a bound Service
- Inheriting binder Classes
- Using the Messenger class
- 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
- Frame by Frame animation
- tweened Animation Animation
- Alpha Gradient Transparency Animation effect
- Scale gradient dimension stretch animation effect
- Translate picture conversion position move animation effect
- 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