elib
DLR-Header
DLR-Logo -> http://www.dlr.de
DLR Portal Home | Impressum | Datenschutz | Kontakt | English
Schriftgröße: [-] 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, 2014-08-23 - 2014-08-24, Sankt Augustin. (nicht veröffentlicht)

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

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

Kurzfassung

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.

elib-URL des Eintrags:https://elib.dlr.de/93116/
Dokumentart:Konferenzbeitrag (Vortrag)
Zusätzliche Informationen: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
Titel:How to bring compute intensive C++ based apps to Android
Autoren:
AutorenInstitution oder E-Mail-AdresseAutoren-ORCID-iDORCID Put Code
Siggel, Martinmartin.siggel (at) dlr.dehttps://orcid.org/0000-0002-3952-4659NICHT SPEZIFIZIERT
Datum:23 August 2014
Referierte Publikation:Nein
Open Access:Ja
Gold Open Access:Nein
In SCOPUS:Nein
In ISI Web of Science:Nein
Status:nicht veröffentlicht
Stichwörter:Android, C++, App, TiGL, Emulator, NDK
Veranstaltungstitel:FrOSCon 9
Veranstaltungsort:Sankt Augustin
Veranstaltungsart:nationale Konferenz
Veranstaltungsbeginn:23 August 2014
Veranstaltungsende:24 August 2014
HGF - Forschungsbereich:Luftfahrt, Raumfahrt und Verkehr
HGF - Programm:Raumfahrt
HGF - Programmthema:Raumtransport
DLR - Schwerpunkt:Raumfahrt
DLR - Forschungsgebiet:R RP - Raumtransport
DLR - Teilgebiet (Projekt, Vorhaben):R - Proj. Thermas (alt), R - Vorhaben SISTEC (alt)
Standort: Köln-Porz
Institute & Einrichtungen:Institut für Simulations- und Softwaretechnik > Verteilte Systeme und Komponentensoftware
Hinterlegt von: Siggel, Dr. Martin
Hinterlegt am:09 Dez 2014 14:30
Letzte Änderung:24 Apr 2024 19:58

Nur für Mitarbeiter des Archivs: Kontrollseite des Eintrags

Blättern
Suchen
Hilfe & Kontakt
Informationen
electronic library verwendet EPrints 3.3.12
Gestaltung Webseite und Datenbank: Copyright © Deutsches Zentrum für Luft- und Raumfahrt (DLR). Alle Rechte vorbehalten.