MOBICAT: a model-driven engineering approach for automatic GUI code generation for Android applications

被引:1
作者
Zafar, Haroon [1 ]
Khan, Saif Ur Rehman [2 ]
Mashkoor, Atif [3 ]
Nisa, Habib Un [2 ]
机构
[1] Natl Univ Comp & Emerging Sci NUCES, Dept Comp Sci, Peshawar, Pakistan
[2] Shifa Tameer Emillat Univ STMU, Dept Comp, Islamabad, Pakistan
[3] Johannes Kepler Univ Linz, Inst Software Syst Engn, Linz, Austria
来源
FRONTIERS IN COMPUTER SCIENCE | 2024年 / 6卷
关键词
graphical user interface (GUI); mobile applications; model-driven engineering; GUI profile; code generation; MOBILE; FRAMEWORK;
D O I
10.3389/fcomp.2024.1397805
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Introduction Mobile applications have become indispensable in our daily lives. However, mobile application development faces several challenges, including limited resources, budget, and time to market. The current state of the practice intends to develop the Graphical User Interface (GUI), business logic, and the controller class separately, which is a time-consuming and error-prone process. The generation of GUI is a significant concern in the development of mobile applications.Methods This work presents a model-driven engineering approach for automatic GUI code generation for Android applications, which intends to address the above-mentioned challenges in mobile app development. The proposed approach involves modeling domain-specific features of mobile applications and capturing requirements using UML diagrams that lead to automated GUI generation and controller class creation. We develop a Model-Based GUI Code Generator (MOBICAT) tool to provide automation support to the proposed approach.Results The efficacy of the MOBICAT tool is evaluated by comparing it with the baseline techniques using three open-source applications. The results indicate that the MOBICAT tool significantly outperforms the baseline techniques by attaining improved execution progress, effectively reducing development cost and effort.Discussion The MOBICAT tool, offers a promising solution to challenges in mobile app development. By automating GUI generation and controller class creation, it streamlines development processes and enhances productivity.
引用
收藏
页数:18
相关论文
共 51 条
  • [1] Abbors F., 2012, 2012 Fourth International Conference on Advances in System Testing and Validation Lifecycle, P31
  • [2] Acosta-Vargas Patricia, 2019, Information Technology and Systems. Proceedings of ICITS 2019. Advances in Intelligent Systems and Computing (AISC 918), P638, DOI 10.1007/978-3-030-11890-7_61
  • [3] Adaptive Model-Driven User Interface Development Systems
    Akiki, Pierre A.
    Bandara, Arosha K.
    Yu, Yijun
    [J]. ACM COMPUTING SURVEYS, 2014, 47 (01)
  • [4] Allamanis M, 2016, PR MACH LEARN RES, V48
  • [5] pix2code: Generating Code from a Graphical User Interface Screenshot
    Beltramelli, Tony
    [J]. PROCEEDINGS OF THE ACM SIGCHI SYMPOSIUM ON ENGINEERING INTERACTIVE COMPUTING SYSTEMS (EICS'18), 2018,
  • [6] Formal semantics of OMG's Interaction Flow Modeling Language (IFML) for mobile and rich-client application model driven development
    Bernaschina, Carlo
    Comai, Sara
    Fraternali, Piero
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2018, 137 : 239 - 260
  • [7] Bittner Kurt, 2003, Use case modeling
  • [8] Botturi G., 2013, Proceedings of the 2013 Forum on specification and Design Languages (FDL), P1
  • [9] Chen S, 2019, 2019 IEEE 1ST INTERNATIONAL WORKSHOP ON ARTIFICIAL INTELLIGENCE FOR MOBILE (AI4MOBILE '19), P13, DOI [10.1109/AI4Mobile.2019.8672718, 10.1109/ai4mobile.2019.8672718]
  • [10] Czarnecki K., 2005, Conference on Object Oriented Programming Systems Languages and Applications, P200, DOI [10.1145/1094855.1094934, DOI 10.1145/1094855.1094934]