Automated library mapping approach based on cross‐platform for mobile development programming languages

Author:

Muhammad Ahmad Ahmad12ORCID,Soliman Abdelrahman1,Zayed Hala13,Yousef Ahmed H.124,Selim Sahar12

Affiliation:

1. School of Information Technology and Computer Science Nile University Giza Egypt

2. Center for Informatics Science Nile University Giza Egypt

3. School of Engineering Egyptian University of Informatics Cairo Egypt

4. Faculty of Engineering Ain Shams University Cairo Egypt

Abstract

AbstractContextThe most popular mobile platforms, Android and iOS, are traditionally developed using native programming languages—Java and Kotlin for Android, and Objective‐C followed by Swift for iOS, respectively. Due to their popularity, there is always a demand to convert applications written for one of these two platforms to another. Cross‐platform mobile development is widely used as a solution where an application is written once and deployed on multiple platforms written in several other programming languages. One common cross‐platform approach that has been used recently by some research groups is the Trans‐Compilation approach. They focus on translating a program written in iOS into Android or vice versa. The main problem with their solutions is that library function mapping is not generalized and usually functions constitute most of the parts of any program.ObjectiveThis study aims to introduce an automatic library mapping approach for mobile programming languages.MethodA library function of a source language will be automatically mapped to a corresponding function of the destination language by using the function structure for the two languages. The function structure includes the library to which the function belongs, the return type, parameter types, and the number of parameters. To test our approach, we map from Swift to Java.ResultsThe results of our experiments show that our automatic library mapping approach achieves an average accuracy of 83.6% when tested on the most used libraries and outperforms current state‐of‐the‐art mapping techniques in terms of mapping accuracy.ConclusionThese findings show that our automatic mapping approach is promising and can help to overcome the limitations of the trans‐compilation approaches.

Publisher

Wiley

Subject

Software

Reference30 articles.

1. US Smartphone Market Share.Oberlo.2023https://www.oberlo.com/statistics/us‐smartphone‐market‐share

2. Global mobile OS Market Share.Statista.2022https://www.statista.com/statistics/272698/global‐market‐share‐held‐by‐mobile‐operating‐systems‐since‐2009/

3. Application of Progressive Web Apps (PWA) on PT SKA’s E-Commerce Website

4. Industrial Practitioner Perspective of Mobile Applications Programming Languages and Systems

5. Towards the definitive evaluation framework for cross-platform app development approaches

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3