Android Games samples
A selection of code samples to accelerate your game development.
Review a game based on the NDK Endless Tunnel sample, a sample that shows the Game Controller library using the GameActivity library, and a sample that shows the Game Controller library using the NativeActivity library. Useful for visualizing how a paired controller interacts on your device.
Review a sample that uses linked assembly, a minimal Hello World JNI example, and an example of a multiplatform project with build targets for both Android and Microsoft Windows.
Review a sample app that displays the device's thermal status using the getThermalHeadroom API and the thermal state monitoring API. The app also dynamically changes the workload based on the API's hint, and uses the PerformanceHintManager API to control render thread performance.