Siggel, Martin (2014) How to bring compute intensive C++ based apps to Android. droidcon 2014, 2014-05-08 - 2014-05-10, Berlin, Deutschland. (nicht veröffentlicht)
PDF (How to bring compute intensive C++ based apps to Android)
2MB |
Offizielle URL: http://de.droidcon.com/2014/session/how-bring-compute-intensive-c-based-apps-android
Kurzfassung
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.
elib-URL des Eintrags: | https://elib.dlr.de/93109/ | ||||||||
---|---|---|---|---|---|---|---|---|---|
Dokumentart: | Konferenzbeitrag (Vortrag) | ||||||||
Titel: | How to bring compute intensive C++ based apps to Android | ||||||||
Autoren: |
| ||||||||
Datum: | 9 Mai 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++, TiGL, Visualisierung, Emulator | ||||||||
Veranstaltungstitel: | droidcon 2014 | ||||||||
Veranstaltungsort: | Berlin, Deutschland | ||||||||
Veranstaltungsart: | internationale Konferenz | ||||||||
Veranstaltungsbeginn: | 8 Mai 2014 | ||||||||
Veranstaltungsende: | 10 Mai 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:29 | ||||||||
Letzte Änderung: | 24 Apr 2024 19:58 |
Nur für Mitarbeiter des Archivs: Kontrollseite des Eintrags