ANDROID CODE AUTOMATIC GENERATION BASED ON APPLICATION DESCRIPTION

Jiang Yizhou,Shen Liwei,Peng Xin,Zhao Wenyun
DOI: https://doi.org/10.3969/j.issn.1000-386x.2016.11.040
2016-01-01
Abstract:In the field of mobile development,Android application development has attracted many mobile manufacturers and developers. At present,most of the developers use a traditional way to code and configure for each part of the Android application based on the integrated development environments,which takes much time.However,part of the code and configuration files related to application framework may have a similar pattern,and software reuse and customizing can effectively improve the overall development efficiency of application.In order to achieve this goal,this paper puts forward a collection of method making reference to the thought of MDA (Model-Driven Architecture). Within this method,automatically generating android code framework is based on the description of the Android application.The method includes a meta-model which describes elements and associated relationships of Android applications as well as a set of reusable and customization supported code template.Based on the standard of the meta-model,description of a specific android application can drive the android framework to generate automatically based on the code template.Based on the method,this paper developed Android code framework automatic generation tool,and an example is carried out to show the availability of the method and tool.
What problem does this paper attempt to address?