loading
Papers Papers/2022 Papers Papers/2022

Research.Publish.Connect.

Paper

Paper Unlock

Authors: Yoonsik Cheon ; Carlos V. Chavez and Ubaldo Castro

Affiliation: Department of Computer Science, The University of Texas at El Paso, El Paso, Texas and U.S.A.

Keyword(s): Code Reuse, Multiplatform Application, Platform Difference, Android, Java.

Abstract: Java and Android applications can be written in the same programming language. Thus, it is natural to ask how much code can be shared between them. In this paper we perform a case study to measure quantitatively the amount of code that can be shared and reused for a multiplatform application running on the Java platform and the Android platform. We first configure a multiplatform development environment consisting of platform-specific tools. We then propose a general architecture for a multiplatform application under a guiding design principle of having clearly defined interfaces and employing loose coupling to accommodate platform differences and variations. Specifically, we separate our application into two parts, a platform-independent part (PIP) and a platform-dependent part (PDP), and share the PIP between platform-specific versions. Our finding is that 37%–40% of code can be shared and reused between the Java and the Android versions of our application. Interestingly, the Andro id version requires 8% more code than Java due to platform-specific constraints and concerns. We also learned that the quality of an application can be improved dramatically through multiplatform development. (More)

CC BY-NC-ND 4.0

Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address 3.89.116.152

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Cheon, Y.; Chavez, C. and Castro, U. (2019). Code Reuse between Java and Android Applications. In Proceedings of the 14th International Conference on Software Technologies - ICSOFT; ISBN 978-989-758-379-7; ISSN 2184-2833, SciTePress, pages 246-253. DOI: 10.5220/0007843702460253

@conference{icsoft19,
author={Yoonsik Cheon. and Carlos V. Chavez. and Ubaldo Castro.},
title={Code Reuse between Java and Android Applications},
booktitle={Proceedings of the 14th International Conference on Software Technologies - ICSOFT},
year={2019},
pages={246-253},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0007843702460253},
isbn={978-989-758-379-7},
issn={2184-2833},
}

TY - CONF

JO - Proceedings of the 14th International Conference on Software Technologies - ICSOFT
TI - Code Reuse between Java and Android Applications
SN - 978-989-758-379-7
IS - 2184-2833
AU - Cheon, Y.
AU - Chavez, C.
AU - Castro, U.
PY - 2019
SP - 246
EP - 253
DO - 10.5220/0007843702460253
PB - SciTePress