Author:
Zafar Haroon,Ur Rehman Khan Saif,Mashkoor Atif,Nisa Habib Un
Abstract
IntroductionMobile 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.MethodsThis 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.ResultsThe 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.DiscussionThe 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.
Reference51 articles.
1. “MBPeT: a model-based performance testing tool,”;Abbors,2012
2. “Accessibility evaluation of mobile applications for monitoring air quality,”;Acosta-Vargas,2019
3. Adaptive model-driven user interface development systems;Akiki;ACM Comput. Surv,2014
4. “A convolutional attention network for extreme summarization of source code,”;Allamanis;International Conference on Machine Learning,2016
5. “pix2code: generating code from a graphical user interface screenshot,”;Beltramelli,2018