COMPARATIVE EVALUATION BETWEEN JAVA APPLICATION USING JNI AND NATIVE C/C++ APPLICATION RUNNING ON AN ANDROID PLATFORM

0Citations
Citations of this article
5Readers
Mendeley users who have this article in their library.

Abstract

Android is a popular operating system based on the Linux kernel and has a Java-based framework. As it is built on Linux, it supports the development of applications written in C/C++, known as native applications. The Native Development Kit (NDK), along with the Java Native Interface (JNI), provides a solution for communication between Java applications and native C/C++ applications, resulting in a significant performance boost. This article evaluated the performance difference between Java applications using JNI with the NDK and native C/C++ applications, focusing on algorithms widely used in various areas such as automation, networking, telecom, cybersecurity, etc. We conducted sequence of executions initiated either through a graphical interface or via the Android Debug Bridge (ADB) command line, with timing performed by external hardware with its own firmware for this evaluation. Based on the results, we observed that in all test cases, the native application performs faster, except when there are variations related to process scheduling, which may rarely lead to a reversal of this pattern.

Author supplied keywords

Cite

CITATION STYLE

APA

Venâncio, Á. de O., de Souza, T. R. B., & Dias, B. R. C. (2025). COMPARATIVE EVALUATION BETWEEN JAVA APPLICATION USING JNI AND NATIVE C/C++ APPLICATION RUNNING ON AN ANDROID PLATFORM. Journal of Engineering and Technology for Industrial Applications, 11(51), 20–27. https://doi.org/10.5935/jetia.v11i51.1310

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free