android 模块化开发实例,Android模块化开发方法 Android modular development approach

本发明介绍了一种Android模块化开发新方法,通过Eclipse和ADT插件特性,将程序模块编译为jar包,方便其他项目导入并利用。通过监控文件夹,自动导入和移除jar包实现组件功能的增删,简化了模块管理。
摘要由CSDN通过智能技术生成

摘要:

本发明公开了一种Android模块化开发方法,它包括导出模块步骤,导入模块步骤,移除模块步骤,导入和移除操作是监控项目的modules文件夹实现的,如果这个文件夹中加入了新文件并且以.jar结尾,默认为它是模块文件,启动导入过程,如果从这个文件夹中移除了文件,并且以.jar结尾,启动移除过程,如果是替换文件,则分别先后启动移除和导入过程. The present invention discloses a method Android modular development, which includes export module steps to import the module step, removal module steps to import and removal operations are modules to monitor project file folder achieve, if this folder by adding a new and ending in .jar file, by default it is the module file to start the import process, if removed from the file in this folder, and ending in .jar, start the removal process, if it is to replace the file, respectively, have started shifting In addition and import process. 本发明基本Eclipse的插件特性和Android的ADT插件特征,提出使Android程序模块单独编译为jar包的形式,其它Android程序可以解析这个jar包,把这个模块的功能加入到新的Android程序中. The present invention is basic Eclipse plug-in features and ADT plug-in features of Android, so Android presented in the form of program modules separately compiled jar package, other Android program can parse the jar package, the function of this module is added to the new Android application. 且可通过移除jar包来移除某个组件的功能. And the functionality of a component can be removed by removing the jar package.

展开

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值