TY - GEN
T1 - Evaluating performance of android platform using native C for embedded systems
AU - Lee, Sangchul
AU - Jeon, Jae Wook
PY - 2010
Y1 - 2010
N2 - The Android platform used for mobile devices can be applied to embedded systems, such as robot control systems. Developers should create applications by using Java language provided by Android SDK for embedded systems operated via Android platforms. However, in many existing embedded systems, developers have written applications for controlling the system by using C language. Android NDK makes it possible for developers to easily reuse such legacy code written in C/C++ languages. In this paper, we show the difference in terms of performance between an Android application using native code library from C source and an Android application using the same algorithm written in Java language only. We conducted an experiment on five parts: JNI communication delay, integer calculation, floating-point calculation, memory access algorithm, and heap memory allocation algorithm. This paper presents a guideline for an effective way to use native code libraries in Android applications.
AB - The Android platform used for mobile devices can be applied to embedded systems, such as robot control systems. Developers should create applications by using Java language provided by Android SDK for embedded systems operated via Android platforms. However, in many existing embedded systems, developers have written applications for controlling the system by using C language. Android NDK makes it possible for developers to easily reuse such legacy code written in C/C++ languages. In this paper, we show the difference in terms of performance between an Android application using native code library from C source and an Android application using the same algorithm written in Java language only. We conducted an experiment on five parts: JNI communication delay, integer calculation, floating-point calculation, memory access algorithm, and heap memory allocation algorithm. This paper presents a guideline for an effective way to use native code libraries in Android applications.
KW - Android
KW - JNI
KW - Native C
KW - Performance evaluation
KW - Smart phone
UR - https://www.scopus.com/pages/publications/78751562124
U2 - 10.1109/iccas.2010.5669738
DO - 10.1109/iccas.2010.5669738
M3 - Conference contribution
AN - SCOPUS:78751562124
SN - 9781424474530
T3 - ICCAS 2010 - International Conference on Control, Automation and Systems
SP - 1160
EP - 1163
BT - ICCAS 2010 - International Conference on Control, Automation and Systems
PB - IEEE Computer Society
ER -