Title :
Evaluating performance of Android platform using native C for embedded systems
Author :
Lee, Sangchul ; Jeon, Jae Wook
Author_Institution :
Dept. of Mobile Syst. Eng., Sungkyunkwan Univ., Suwon, South Korea
Abstract :
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.
Keywords :
C language; Java; embedded systems; mobile computing; Android NDK; Android SDK; Android platform; C language; JNI communication delay; Java language; embedded systems; floating-point calculation; heap memory allocation algorithm; integer calculation; memory access algorithm; mobile devices; Androids; Embedded systems; Java; Libraries; Performance evaluation; Resource management; Virtual machining; Android; JNI; Native C; Performance evaluation; Smart phone;
Conference_Titel :
Control Automation and Systems (ICCAS), 2010 International Conference on
Conference_Location :
Gyeonggi-do
Print_ISBN :
978-1-4244-7453-0
Electronic_ISBN :
978-89-93215-02-1