Research on Code generation for Android Embedded based on the rule model
Wen Hu, Kai Zhang · Advanced science and technology letters · 2014
In order to solve the problem of Android embedded application code automatically generated, this paper proposes a code generation method based on model rule. Based on the in-depth study of the Android embedded application program frame and project file, this article discusses the constraints between components then gives the Layout-Widget interface model. Component object model and event model are given by studying the Android components and event listener. The Android embedded application code achieved automatic generation by defining the rules of generative process. The example shows that Android embedded code generation method based on rule model improves the development efficiency and reduces the development difficulty.