[android开发] 双鱼林安卓Android代码生成器2.0版

[复制链接]
发表于 2022-11-9 16:04:38
双鱼林基于安卓Android代码生成器是一款生成安卓手机程序的代码生成器基于分层模式设计思维,生成的代码直接导入Eclipse软件就可以用的!手机客户端首要包括了以下目录框架代码的自动生成:com.mobileclient.activity:充任界面层(界面描绘在布局文件中)和控制层(控制程序的运行过程)。com.mobileclient.domain:实体对象描绘层,担任描绘和封装对象的各个属性,在各个层次中进行数据流动。com.mobileclient.service:业务逻辑层,通过和服务器通信,实现数据的发送和接收。com.mobileclient.handler:当服务器回来xml数据集时,需求调用这个层的类实现xml数据集到java对象数据链表的转换,这儿选用的是SAX解析技术,相比DOM技术解析需求更低内存,很合适手机上使用。com.mobileclient.util:里边包括各种Adapter首要担任将各种数据烘托显示到界面上,这儿还有个ImageService担任从服务器获取图片资源,HttpUtil担任和服务器通信,首要是发送参数给服务器!com.mobileclient.app:保存使用程序类,全局变量可以放到这儿,使用程序中未管理的异常可以在此被捕获到日志文件。res/layout:各种界面布局文件!res/drawable-mdpi:程序界面中用到的图片资源文件!

(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!)

[下载]16043897428.rar




上一篇:仿大众点评搜索下拉框
下一篇:双鱼林基于安卓Android图书管理系统精品demo系统

使用道具 举报

Archiver|手机版|小黑屋|吾爱开源 |网站地图

Copyright 2011 - 2012 Lnqq.NET.All Rights Reserved( ICP备案粤ICP备14042591号-1粤ICP14042591号 )

关于本站 - 版权申明 - 侵删联系 - Ln Studio! - 广告联系

本站资源来自互联网,仅供用户测试使用,相关版权归原作者所有

快速回复 返回顶部 返回列表