The method of android application speed up by using NDK

The method of android application speed up by using NDK
复制标题

使用NDK加速android应用程序的方法

DOI:
--
复制
发表时间:
2011
期刊:
International Conference on Awareness Science and Technology
影响因子:
--
通讯作者:
Jong
Jong
中科院分区:
--
文献类型:
--
作者:
Ki;Jong

文献摘要

被引文献

相似文献

Android平台是最流行的嵌入式操作系统之一,安装在机器人,电视,特别是智能手机上。由于一般的Android应用程序都是用JAVA语言开发的,所以在需要进行图像处理等计算操作的情况下,速度非常慢。为了克服这些缺陷,Android操作系统通过Android NDK支持JNI,这使得可以在应用程序级别使用Android中的C库。通过NDK,Android应用程序可以接近硬件,并能够开发高速应用程序。本文研究了如何利用Android NDK提高JAVA应用程序的性能。我们将原始的NyARToolKit(增强现实引擎)与使用NDK改进的NyARToolKit进行了比较。通过这个实验,我们证实了Android应用程序开发人员可以使用NDK高效地制作他们的应用程序。在我们的实验中,我们可以将NyARToolKit的速度提高1.869倍。本文介绍了一种在Android应用程序中使用本机代码库的有效方法。
The Android platform is one of the most popular used embedded OS, is mounted on robot, TVs, especially on Smart phones. Because general android applications are developed by the JAVA language, it is very slow in case which requires many calculational operations such as image processing. To overcome these defects, the Android OS is supporting JNI with the Android NDK, which makes available to use the C libraries in the android at application level. Through NDK, the Android applications can approach hardware and is able to developed high speed application. In this paper, we consider that how to enhance performance of the JAVA applications by using the Android NDK. We compared original NyARToolKit, which is augmented reality engine, with the improved NyARToolKit using the NDK. Through this experiment, we confirmed that android application programmers can make their application efficiently by using the NDK. We could increase speed of NyARToolKit by 1.869 times in our experiment. This paper presents a guideline for an effective way to use native code libraries in Android applications.