(Shuangyulin Android code generator based on Android is a code generator that generates Android mobile phone programs based on layered design thinking, and the generated code can be used by importing Eclipse software directly! The mobile client mainly includes the automatic generation of the following directory framework code: com. mobileclient Activity: acts as the interface layer (the interface is depicted in the layout file) and the control layer (controlling the running process of the program). com.mobileclient. Domain: entity object description layer, which is used to describe and encapsulate various attributes of objects, and flows data in each layer. Com.mobileclient.service: business logic layer, which realizes the sending and receiving of data by communicating with the server. com.mobileclient. Handler: When the server returns the xml dataset, it is required to call the class of this layer to convert the xml dataset to the linked list of java object data. The SAX parsing technology is selected here. Compared with the DOM technology, the parsing requires less memory, which is suitable for mobile phones. com.mobileclient. Util: It includes various adapters, which are mainly used to display various data on the interface. Here is an ImageService which is used to obtain image resources from the server, and HttpUtil which is used to communicate with the server, which is mainly used to send parameters to the server! com.mobileclient. App: Save the user class. Global variables can be placed here. Unmanaged exceptions in the user program can be captured to the log file here. Res/layout: various interface layout files! Res/drawable mdpi: Image resource file used in program interface!)