[Android] Android project architecture

Preparation steps:

1. Create project (set compatible version, minimum compatible version)

2. Import common jar packages (handle strings and jar files for encryption)

Commons Lang,Commons Codec

Commons-codec.jar is mainly used to encrypt MD5

3. Introduce test framework (class library and startup device configuration)

Application Architecture:

1. Network communication

(mobile client access interface document, protocol encapsulation XML and JSON)

(communicate with the server through httpclient)

2. Business operation

Public information

User information

Business layer invocation (how to reduce coupling, high cohesion and low coupling, using factory mode)

3. Interface prompt

Unified interface management

Requirement analysis = = > prototype design = = > renderings = = > select renderings

Network design = = > business design = = > interface development

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>