Skip to main content

ORIGINAL RESEARCH article

Front. Comput. Sci.
Sec. Software
Volume 6 - 2024 | doi: 10.3389/fcomp.2024.1397805

MOBICAT: A Model-Driven Engineering Approach for Automatic GUI Code Generation for Android Applications Provisionally Accepted

  • 1COMSATS University, Islamabad Campus, Pakistan
  • 2Shifa Tameer-e-Millat University, Pakistan
  • 3Johannes Kepler University of Linz, Austria

The final, formatted version of the article will be published soon.

Receive an email when it is updated
You just subscribed to receive the final version of the article

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. 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 auto-mated GUI generation and controller class creation. We develop a Model-Based GUI Code Generator (MOBICAT) tool to provide automation support to the proposed approach. The efficacy of the MO-BICAT 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.

Keywords: graphical user interface (GUI), Mobile Applications, Model-driven engineering, GUI Profile, Code generation

Received: 08 Mar 2024; Accepted: 02 May 2024.

Copyright: © 2024 Zafar, Ur Rehman Khan, Mashkoor and Nisa. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Dr. Atif Mashkoor, Johannes Kepler University of Linz, Linz, Austria