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. FrOSCon 9, 23.-24. Aug. 2014, Sankt Augustin. (Unpublished)

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

Official URL: https://programm.froscon.de/2014/events/1364.html

Abstract

You already have some C++ code for the desktop and you ever wanted to port this to Android? Then you should not wait to come to this talk. We'll guide you through the typical steps and pitfalls in this porting process using a demo application and our open source geometry app TiGL Viewer. The TiGL Viewer 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. Further, we 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/93116/
Document Type:Conference or Workshop Item (Speech)
Additional Information:Vortrag als Video: http://media.ccc.de/browse/conferences/froscon/2014/froscon2014_-_1364_-_en_-_hs5_-_201408231000_-_how_to_bring_compute_intensive_c_based_apps_to_android_-_martin_siggel.html#video&t=234
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:23 August 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++, App, TiGL, Emulator, NDK
Event Title:FrOSCon 9
Event Location:Sankt Augustin
Event Type:national Conference
Event Dates:23.-24. Aug. 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:30
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.