Liaoliang most popular one-stop cloud computing big Data and mobile Internet Solutions course V4 Android Enterprise Advanced Application Development Best Practices (5 days)--0905final revisions

Source: Internet
Author: User

This course is a one-stop solution for Android application development and framework advanced development in enterprise production environments and is dedicated to solving all of the application framework's skills required for Android enterprise-level development and advanced development.

From the perspective of enterprise-level business practice, conquer on Android business-level application development through 34 themes, Based on years of Android (6 complete hardware products and more than 20 application software) development and enterprise-level training experience (more than 150 times Android's enterprise internal training and public lessons), designed to help you complete any complex program on a practical basis with high quality Android application development , let Android development keep up with the speed of imagination, in revealing the enterprise to open all the skills while we are closer to the secret and advanced application development is closely related to the application framework relevant topics and skills, Finally, through Activitymanagerservice uncover the core root of all Android app behavior, so that you develop any type of Android applications from the high sub-zero, juchongruoqing.

Course Highlights:

1,android custom UI, style, layout and other skills clean sweep;

2, detailed analysis of drawing skills;

3, completely uncover the security mechanism of Android;

4, thoroughly analyze the life cycle of Android and the best time for its use according to the commercialization scenario;

5, use JUnit to test Android business code;

6, master Android Basic and core UI development technology;

7, "Android Commercial Advanced UI Combat" is based on the past 20 business-class Android application development, especially similar CRM system in the most classic, most commonly used technology extracted from the grasp of the basic will not be encountered in the UI difficulties;

8, carefully analyze and combat Android performance testing, identify performance bottlenecks, and code optimization, sharing best practices of code optimization;

9, the processing of data on the core of Android most applications, especially for the CRM system, this day, we will be on the Android local data processing methods and their commercial use of the scene of thorough analysis and actual combat;

10, from sharedpreferences to internal file system, from SDcard operation to SQLite database, from XML and JSON parsing to generation to data sharing unified interface ContentProvider, The local data processing method of Android carpet bombing;

11, the operation of the Address book principles, processes and scenarios, such as the scene of the reproduction of the code in combat;

12, through Android phone defender business-class code case in combat Android Broadcastreceiver and service;

13, according to the past 20 kinds of programs in the commercial combat summed up the ability to solve any file type based on the HTTP protocol, arbitrary size file network upload and download, the development of Android network once and for all;

14, actual combat wifi data exchange;

15, especially the additional mention of asynchronous HTTP framework, with strong business value;

16,android the classic scene, life cycle and solution of the screen switching;

17, the actual combat to build multi-language internationalization of Android applications;

18, how to compile apk to improve the security of the application;

19, how to decompile Android app

20, through the WebView features of Android to understand the Android JavaScript and Java communication between the password, the pursuit of browser and HTML5 development of the architecture and technology to achieve the root cause;

21, using technologies such as NDK to improve the performance of the application by using the efficiency of C + +;

22, the realization of Android in the Looper, Handler, Message, MessageQueue as the core of the inter-thread communication mode;

23, actual combat and analyze the source code of Asynctask framework, and propose the solution to asynctask defect;

24,android application startup process uncovered

25,android Application Framework Disclosure

26,android application development best practices;

27, finally, uncover the core roots behind all the actions of Android apps:Activitymanagerservice

Course Objectives:

1, from the perspective of Android enterprise-level production environment, the Secret of mastering Android application development

2, familiar with Android architecture philosophy and power source and implementation technology;

3, can develop any type, arbitrarily complex degree of security, efficient application;

4, according to the past 20 of the practice of Android business applications, provide valuable source code, completed the course is equivalent to complete the Android application project about 80% of the development, all the development difficulties swept away;

Course Requirements:

Strong interest in Android, able to read basic C # or Java syntax;

Liaoliang Teacher

President and chief expert, Spark Asia-Pacific Research Institute, China's only mobile internet and cloud computing big data synthesizer.

In Spark, Hadoop, Android and other aspects of rich source, practice and performance optimization experience. Thoroughly researched spark from 0.5.0 to 0.9.1 A total of 13 versions of the spark source code, and has completed the May 31, 2014 release of the Spark1.0 source research.

Hadoop Source-level experts, who have been responsible for a well-known company's class Hadoop framework development work, focus on the provision of Hadoop one-stop solution, but also the cloud computing distributed large-scale data processing, one of the earliest practitioners;

Android architect, senior engineer, consultant, training expert;

Proficient in Spark, Hadoop, Android, HTML5, English broadcasting and bodybuilding;

A one-stop solution dedicated to the soft, hard, and cloud integration of Spark, Hadoop, Android, and HTML5;

More than 10 of it best-selling authors;

Course Outline:

Time

Content

Note

First day

1th topic: Launching a new app in Android ( minutes)

1 What happens when we touch the icon of an app on launcher on the Android screen?

2 where is the execution portal of the application?

How did the process of 31 new Android apps come about?

2nd topic: Activity Lifecycle Profiling, application life cycle profiling, and application development best Practices ( minutes)

1.Activity Life cycle Cycle Chart analysis

2.Activity Life cycle Test Code

3.Activity Nesting life cycle

4. Application Life cycle Profiling

5. Mutual communication between different activity

6. Thinking about Android Management application and Activity mode

The best model for 7.Android application development

3rd topic: Android Commercialization Advanced UI Combat: ListView Asynchronous Load Technology ( minutes)

1. The need to use the ListView to load technology asynchronously

2. ListView Asynchronous loading Technology programming combat

4th topic: Android Commercialization Advanced UI Combat: ListView Page Loading Technology ( minutes)

1. The need to use the ListView page loading technology

2. ListView page Loading Technology programming combat

5th topic: Android Commercialization Advanced UI Combat: Fragment( minutes)

1 significance and application scenarios of fragment appearance
2 Dynamic creation of fragment

3 Creating Tabs with Fragment

4 Fragment Backwards-compatible

5 Fragment life cycle

6 communication between the fragment

6th topic: Customizing the UI( ten minutes)

1. The principle and mechanism of UI customization

2. UI Custom Combat

3. Dynamic UI

4. Adaptation of different screens

7th topic: Coordination of drawable and basic graphics Systems ( minutes)

1 meaning and purpose of the content to be drawn

2 using XML to represent basic, drawn content

3 using XML to represent extended, drawn content

4 drawing content that is built with code

5 Tips for drawable

8th topic: Animation Skills ( minutes)

1 definition and classification of animations

2 Control animations

3 Layout animations

4 What you can draw with animations

5 animations used in an activity

9th topic: Tips and Optimizations for 2D graphics drawing ( minutes)

1 meaning of color effects in Android

2 method of area operation, effect on performance, optimization of program structure

The difference between a 3-bit graph canvas and a playback canvas

4 2D Graphics Rendering performance impact

Next day

10th topic: sharedpreferences, cell phone internal file storage data operation, sdcard operation, Unit Test ( minutes)

1.SharedPreferences of Reading

2.SharedPreferences of writing

3. Analysis of sharedpreference operation permissions

4. Read and write sharedpreference in different packages

5. Sharedpreference Source Code Anatomy

6. Read and write to the phone's files: Openfileinput (), Openfileoutput ()

7. Unit tests for file reading and writing

8. Test for four file permission modes

9. Introduction to commonly used file read/write APIs

10. Anatomy of Source code

11. Use activity to call the business layer to read and write to SDcard

12. Unit Testing

11th topic: SQLite Management tool classes, CRUD operations, paging, and source code profiling, using Android's own API for CRUD operations, detailed walkthrough of the ListView, and Source code profiling ( minutes)

1.SQLite Introduction

2.SQLiteOpenHelper class

3.curd:execsql () and Rawquery ()

4. Paging

5. Source code Analysis of Getwritabledatabase () and Getreadabledatabase () to analyze its principle

6. Thorough analysis of the execution process and principles

7. Source Code Anatomy

8. CRUD operations using Android's own insert, UPDATE, query, delete, and more

9. Parse the source code of INSERT, UPDATE, query, delete

10. Detailed Anatomy of the ListView, customizing the View, customizing the adapter.

11. Anatomy of the cursor's source code

12. Analysis and solutions to the "_id" problem with SQLite and cursor

12th topic: Using Android built-in pull to implement read, write, and source code analysis of XML files in Android JSON parsing ( minutes)

1. Why is the read, write preferred pull for XML files in Android

2. Using pull to implement XML parsing

3. Using pull to write XML

4. Using writer writer to implement the writing of the file has written the content directly into memory

5. Analyze pull's parsing process by short-point debugging method

6. Source Code Anatomy

JSON parsing code template under 7.Android

13th topic: ContentProvider Background, usage, how to build Contentprovider,urimatcher,contenturis, unit test for Cotentprovider, source code Analysis ( - minutes)

1.ContentProvider background, purpose

2. Detailed steps to build ContentProvider

3. A thorough analysis of the URI

4. Analysis Urimatcher,contenturis

5. Unit test for ContentProvider's business layer code

6.ContentProvider of source code anatomy

14th topic: Address Book-based development ( minutes)

1. Database and data table Analysis of contacts

2. Source code Analysis of Address Book ContentProvider

3. Get all the contact information

4. Add a Contact

5. How to handle things when adding contacts records

15th topic: Performance Testing and Optimization ( ten minutes)

1. How to perform performance testing

2. Performance Test Combat

3. Where optimization rules and coding should be noted

Third Day

16th topic: Broadcast recipient Broadcastreceiver, SMS Listener case (after receiving a text message uploaded to the server or sent to the specified number or sent to the specified message)( minutes)

1. Analyze the broadcast receiver, compare with JMS, broadcast recipient's IOC principle

2. SMS Monitor Android Client

3. Server-side Setup

4. Upload the received SMS to the server via the network

5. Send the received SMS to the designated mobile phone number or email

6.BroadcastReceiver life cycle and considerations and solutions for 5 Seconds of life response time

7. The ANR problem in the service and its solution;

17th topic: Service Services, telephone listeners (auto power on each boot, phone recording and uploading to the server)( minutes)

1. Detailed Profiling service

2. Building a service for phone monitoring

3. Use Broadcastreceiver to monitor the boot event and start the service

4. Upload the audio file to the server

5. Thinking about the Android security system

18th topic: Two-way communication for Aidl ( minutes)

1 how message and service are combined

2 Intentservice's Command mode

3 combination of service and Broadcastreceiver

19th topic: Development of remote services using Aidl ( minutes)

1.AIDL underlying principle: binder-based Proxy-stub

2. Specific steps written using Aidl

3. Write the server and client manually

4. Test and Debug

20th topic: Breakpoint Continuation (i) multi-threaded downloader similar to Thunderbolt (for any type of file download)( minutes)

1, multi-threaded download breakpoint continuation principle and flowchart

2, download the file when the HTTP protocol protocol detailed

3, multi-threaded download Breakpoint Continuation program: Design Server and Android

4,android-side content involves IOC, multi-threading, SQLite database, Handler, HTTP protocol, cache handling, unexpected shutdown processing, authoring framework, MVC, Service, I/O flow in Android, code debugging, Life cycle of activity, etc.

5, Unit Test

6, Software debugging

21st Topic: Android Client form data upload ( minutes)

1 uploading a basic data type

2 uploading images and other attachments

3 refactoring the code to a tool class capable of uploading any number of fields and any number of attachments

4 Thinking of local offline storage/online upload technology Solutions

22nd topic: HttpClient and Asynchronous HTTP Framework ( minutes)

1. Submit data to the server using HttpClient

2, asynchronous HTTP Framework Implementation principle

3, asynchronous HTTP framework submits data to server

4,httpclient Framework Core Source Analysis

Fourth day

23rd topic: Java and WebView JavaScript in Android communicate with each other ( minutes)

1. Making the new World of Android interface

2.Java calling JavaScript

3.Javascript calling Java

24th topic: JNI Programming in Android ( ten minutes)

1 Java calls C + +

2 jnienv, JVM, Jobject secret

3 Creating Java objects, calling Java properties, and methods in C + +

Multi-threaded programming in 4 JNI

5 The application of facade pattern in JNI

6 PnP (Plug and Play)

25th Topic: Android NDK Programming (60 minutes)

1 Local C code calls method in Java

2 Local C code get property values for Java objects

3 calls to local C code in more than one class

4 creating Java objects in local code

5 Deep anatomy of the operating mechanism and process of Java, Dalvik VMS, C/

6 assigning threads in Java to call C + + functions

7 code-C + + native codes call Java functions by assigning threads

26th topic: Android screen switching, application internationalization, software compilation and anti-compilation ( minutes)

1.Android the classic scene, life cycle and solution of the screen switching;

2. Build multi-lingual and internationalized Android apps;

3. How to compile apk to improve the security of the application;

4. How to decompile Android apps

27th topic: Handler, Looper, Message, MessageQueue( minutes)

1. Android's event-driven model

2. Looper, MessageQueue, Hanlder, message and other source depth analysis

3. Looper, MessageQueue, Hanlder, message, and multi-threaded practical cases

28th topic: Asynctask Asynchronous Threading Technology ( minutes)

1. Reasons for using Asynctask and thoughts on Asynctask

2. Asynctask code Example

3. Asynctask Framework Source Code Analysis

4. Deficiencies and improvements in the Asynctask framework

Fifth day

29th Lesson: The best model for Android app development ( minutes)

1, Main Thread+handlerthread

2, analysis of the source code implementation of Handlerthread

3. Best practices for using Handlerthread

30th Lesson: Soul Message-driven mechanism for Android apps ( minutes)

1. Why message-driven is the soul of frameworks and applications

2, with Android Activitythread, Looper, Handler, MessageQueue as an example to illustrate the message-driven mechanism

3, the source depth analysis Activitythread, Looper, Handler, MessageQueue

4. Revelation of message-driven mechanism

Lesson 31st: An example of application development frameworks:an analysis of the Fundamentals of Android Framework Architecture ( minutes)

1. The relationship between Proxy object and Android service mode

2. Handler and Message analysis and implementation details

3. Introduction to Software Framework

4. Software Framework Combat: IoC, extensibility and non-modifiable

5, first design (Implementation)

5, Doing Long Operations

6. Design Patterns of the Android Framework

32nd Lesson: A case study of service management in the framework:Android service architecture systemserver integrated Development ( - minutes)

1, Zygote & systemserver Introduction

2, ServiceManager Introduction

3. IPC, Remote method call and binder management instructions

4, Aidl Introduction and iinterface design concept analysis

5. Activity & ApplicationContext

6, ServiceManager

33rd lesson: A case study of service integration in the framework: Framework Consolidation inAndroid service mode ( minutes)

1. Android Service Model Parsing

2. Why use IPC?

3. How does Blocking IO?

4. How does Data Polling?

5. Using child Thread for Async Method call

6. Callback and Interface Design

7. Thread-safe Concept and realization

34th lesson:Android app running behind secret---activitymanagerservice source profiling ( minutes)

1 where is the main entrance to the Android app?

2 What is the process of activitythread becoming the main thread of the application?

3 The secret behind Looper, MessageQueue and handler;

4 Android activity, Service, Provider, receiver START process source analysis


Liaoliang most popular one-stop cloud computing big Data and mobile Internet Solutions course V4 Android Enterprise Advanced Application Development Best Practices (5 days)--0905final revisions

Related Article

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.