# Android Game Development Kit - Game Activity library reference

# Android Game Development Kit - Game Activity library reference

These are the reference pages for the Game Activity library of the Android Game Development Kit.

|                                                                                                                                          ## Modules                                                                                                                                           ||
|----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Game Activity](https://developer.android.com/reference/games/game-activity/group/game-activity)                     | The interface to use[GameActivity](https://developer.android.com/reference/games/game-activity/struct/game-activity#struct_game_activity).                              |
| [Native App Glue library](https://developer.android.com/reference/games/game-activity/group/android-native-app-glue) | The glue library to interface your game loop with[GameActivity](https://developer.android.com/reference/games/game-activity/struct/game-activity#struct_game_activity). |

|                                                                                                                                                              ## Structs                                                                                                                                                               ||
|--------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [GameActivity](https://developer.android.com/reference/games/game-activity/struct/game-activity)                         | This structure defines the native side of an android.app.GameActivity.                                                                                                                                      |
| [GameActivityCallbacks](https://developer.android.com/reference/games/game-activity/struct/game-activity-callbacks)      | These are the callbacks the framework makes into a native application.                                                                                                                                      |
| [GameActivityKeyEvent](https://developer.android.com/reference/games/game-activity/struct/game-activity-key-event)       | Describe a key event that happened on the[GameActivity](https://developer.android.com/reference/games/game-activity/struct/game-activity#struct_game_activity)SurfaceView.                                  |
| [GameActivityMotionEvent](https://developer.android.com/reference/games/game-activity/struct/game-activity-motion-event) | Describe a motion event that happened on the[GameActivity](https://developer.android.com/reference/games/game-activity/struct/game-activity#struct_game_activity)SurfaceView.                               |
| [GameActivityPointerAxes](https://developer.android.com/reference/games/game-activity/struct/game-activity-pointer-axes) | Describe information about a pointer, found in a[GameActivityMotionEvent](https://developer.android.com/reference/games/game-activity/struct/game-activity-motion-event#struct_game_activity_motion_event). |
| [android_app](https://developer.android.com/reference/games/game-activity/structandroid/app)                             | This is the interface for the standard glue code of a threaded application.                                                                                                                                 |
| [android_input_buffer](https://developer.android.com/reference/games/game-activity/structandroid/input-buffer)           |                                                                                                                                                                                                             |
| [android_poll_source](https://developer.android.com/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.                                                                                                  |