Tuesday, March 22, 2011

Evaluating performance of Android platform using native C for embedded systems

A very interesting article discussing the speed of running code on Android while using Anroid Java SDK running on Dlavik Virtual Machine vs. native C. Down here you can read the article 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 Androidapplications. [more]

Android NDK

The Android NDK is a companion tool to the Android SDK that lets you build performance-critical portions of your apps in native code. It provides headers and libraries that allow you to build activities, handle user input, use hardware sensors, access application resources, and more, when programming in C or C++. If you write native code, your applications are still packaged into an .apk file and they still run inside of a virtual machine on the device. The fundamental Android application model does not change.
Wnat to know more : http://developer.android.com/sdk/ndk/index.html

Thursday, March 17, 2011

Wonder Document Two

Update 18.03.2011 23:59 : Wonder Document 2, Published :-)

We are currently working on publishing our Wonder Document Two to publish a report on development process of our current project.

Sunday, March 6, 2011

Parsing XML database at UiO, done :-)

Our code can now read inforamtion from UiO XML database(Document Object Model Tech.) and show the result on Android screen. Soon will update the post with source code.