My Project
UDK 3.2.7 C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Attributes | List of all members
android_app Struct Reference

This is the interface for the standard glue code of a threaded application. More...

#include <android_native_app_glue.h>

Public Attributes

void * userData
void(* onAppCmd )(struct android_app *app, int32_t cmd)
int32_t(* onInputEvent )(struct android_app *app, AInputEvent *event)
ANativeActivity * activity
AConfiguration * config
void * savedState
size_t savedStateSize
ALooper * looper
AInputQueue * inputQueue
ANativeWindow * window
ARect contentRect
int activityState
int destroyRequested
pthread_mutex_t mutex
pthread_cond_t cond
int msgread
int msgwrite
pthread_t thread
struct android_poll_source cmdPollSource
struct android_poll_source inputPollSource
int running
int stateSaved
int destroyed
int redrawNeeded
AInputQueue * pendingInputQueue
ANativeWindow * pendingWindow
ARect pendingContentRect

Detailed Description

This is the interface for the standard glue code of a threaded application.

In this model, the application's code is running in its own thread separate from the main thread of the process. It is not required that this thread be associated with the Java VM, although it will need to be in order to make JNI calls any Java objects.

Member Data Documentation

ANativeActivity* android_app::activity
int android_app::activityState
struct android_poll_source android_app::cmdPollSource
pthread_cond_t android_app::cond
AConfiguration* android_app::config
ARect android_app::contentRect
int android_app::destroyed
int android_app::destroyRequested
struct android_poll_source android_app::inputPollSource
AInputQueue* android_app::inputQueue
ALooper* android_app::looper
int android_app::msgread
int android_app::msgwrite
pthread_mutex_t android_app::mutex
void(* android_app::onAppCmd)(struct android_app *app, int32_t cmd)
int32_t(* android_app::onInputEvent)(struct android_app *app, AInputEvent *event)
ARect android_app::pendingContentRect
AInputQueue* android_app::pendingInputQueue
ANativeWindow* android_app::pendingWindow
int android_app::redrawNeeded
int android_app::running
void* android_app::savedState
size_t android_app::savedStateSize
int android_app::stateSaved
pthread_t android_app::thread
void* android_app::userData
ANativeWindow* android_app::window

The documentation for this struct was generated from the following file: