elib
DLR-Header
DLR-Logo -> http://www.dlr.de
DLR Portal Home | Imprint | Privacy Policy | Contact | Deutsch
Fontsize: [-] Text [+]

How to bring compute intensive C++ based apps to Android

Siggel, Martin (2014) How to bring compute intensive C++ based apps to Android. droidcon 2014, 8.-10- Mai 2014, Berlin, Deutschland. (Unpublished)

[img] PDF (How to bring compute intensive C++ based apps to Android)
2MB

Official URL: http://de.droidcon.com/2014/session/how-bring-compute-intensive-c-based-apps-android

Abstract

The TiGLViewer desktop application is used at the German Aerospace Center for aircraft design. It is mainly used to display 3D aircraft geometries, which are computed from a parametric description. The core components of the application are the CAD kernel OpenCASCADE for 3D geometry computation and the OpenGL based rendering engine OpenSceneGraph – both written in C++. Due to its relatively large tested code base and the use of the third party libraries, a reimplementation in Java was not reasonable. In this talk, we present the required steps in porting the program to Android by reusing the native C and C++ Code. These steps include cross-compiling the CMake based libraries for Android (arm, x86) using a standalone tool chain from the Native Development Kit (NDK), setting up the NDK build system for the native parts of the TiGLViewer app, integrating the NDK build into the Gradle build system, using the Java Native Interface (JNI) to communicate with the native code, and creating an EGL surface for OpenSceneGraph’s renderer. Further, we want to present the differences in the Android lifecycle for native code compared to Java code. Finally, we show how even CPU and GPU hungry apps can be tested efficiently with the x86 based Android emulator using Intel’s HAXM acceleration. All these steps will be executed live during presentation on a small tutorial app.

Item URL in elib:https://elib.dlr.de/93109/
Document Type:Conference or Workshop Item (Speech)
Title:How to bring compute intensive C++ based apps to Android
Authors:
AuthorsInstitution or Email of AuthorsAuthors ORCID iD
Siggel, Martinmartin.siggel (at) dlr.deUNSPECIFIED
Date:9 May 2014
Refereed publication:No
Open Access:Yes
Gold Open Access:No
In SCOPUS:No
In ISI Web of Science:No
Status:Unpublished
Keywords:Android, C++, TiGL, Visualisierung, Emulator
Event Title:droidcon 2014
Event Location:Berlin, Deutschland
Event Type:international Conference
Event Dates:8.-10- Mai 2014
HGF - Research field:Aeronautics, Space and Transport
HGF - Program:Space
HGF - Program Themes:Space Transport
DLR - Research area:Raumfahrt
DLR - Program:R RP - Raumtransport
DLR - Research theme (Project):R - Proj. Thermas (old), R - Vorhaben SISTEC
Location: Köln-Porz
Institutes and Institutions:Institut of Simulation and Software Technology > Distributed Systems and Component Software
Deposited By: Siggel, Dr. Martin
Deposited On:09 Dec 2014 14:29
Last Modified:31 Jul 2019 19:50

Repository Staff Only: item control page

Browse
Search
Help & Contact
Information
electronic library is running on EPrints 3.3.12
Copyright © 2008-2017 German Aerospace Center (DLR). All rights reserved.