Sample: Tegra Android Native Globe Application

The Globe (sample_apps\native_globe) application is a simple Android NDK NativeActivity-based application that demonstrates simple 3D rendering in native code using Android. It also demonstrates reasonable reactions to common Android lifecycle events. The Globe application is written using the NVIDIA-expanded version of android_native_app_glue, nv_native_app_glue, but the basic concepts of handling Android lifecycle events are applicable to Java/native and pure native NDK applications independent of the particular framework library.

Highlights of the Application

The highlights of the Globe application at the user level include:

Highlights of the Application Code

In terms of code-level inspection, the Globe application provides quite a few useful examples to developers, including:




NVIDIA® GameWorks™ Documentation Rev. 1.0.220830 ©2014-2022. NVIDIA Corporation and affiliates. All Rights Reserved.