Stay organized with collections
Save and categorize content based on your preferences.
Android Game Development Kit - Game Activity library reference
These are the reference pages for the Game Activity library of the Android Game Development Kit.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-03-15 UTC.
[null,null,["Last updated 2022-03-15 UTC."],[],[],null,["# Android Game Development Kit - Game Activity library reference\n==============================================================\n\nThese are the reference pages for the Game Activity library of the Android Game Development Kit.\n\n| Modules ------- ||\n|-----------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|\n| [Game Activity](/reference/games/game-activity/group/game-activity) | The interface to use [GameActivity](/reference/games/game-activity/struct/game-activity#struct_game_activity). |\n| [Native App Glue library](/reference/games/game-activity/group/android-native-app-glue) | The glue library to interface your game loop with [GameActivity](/reference/games/game-activity/struct/game-activity#struct_game_activity). |\n\n| Structs ------- ||\n|---------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GameActivity](/reference/games/game-activity/struct/game-activity) | This structure defines the native side of an android.app.GameActivity. |\n| [GameActivityCallbacks](/reference/games/game-activity/struct/game-activity-callbacks) | These are the callbacks the framework makes into a native application. |\n| [GameActivityKeyEvent](/reference/games/game-activity/struct/game-activity-key-event) | Describe a key event that happened on the [GameActivity](/reference/games/game-activity/struct/game-activity#struct_game_activity) SurfaceView. |\n| [GameActivityMotionEvent](/reference/games/game-activity/struct/game-activity-motion-event) | Describe a motion event that happened on the [GameActivity](/reference/games/game-activity/struct/game-activity#struct_game_activity) SurfaceView. |\n| [GameActivityPointerAxes](/reference/games/game-activity/struct/game-activity-pointer-axes) | Describe information about a pointer, found in a [GameActivityMotionEvent](/reference/games/game-activity/struct/game-activity-motion-event#struct_game_activity_motion_event). |\n| [android_app](/reference/games/game-activity/structandroid/app) | This is the interface for the standard glue code of a threaded application. |\n| [android_input_buffer](/reference/games/game-activity/structandroid/input-buffer) | |\n| [android_poll_source](/reference/games/game-activity/structandroid/poll-source) | Data associated with an ALooper fd that will be returned as the \"outData\" when that source has data ready. |"]]