摘要:
本发明公开了一种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.
展开