3 #include <android/configuration.h> 4 #include <android/native_activity.h> 6 extern int main(
int argc,
const char* argv[]);
13 AndroidApp(ANativeActivity* activity,
void* savedState,
size_t savedStateSize);
16 static void onStart(ANativeActivity* activity);
17 static void onResume(ANativeActivity* activity);
19 static void onPause(ANativeActivity* activity);
20 static void onStop(ANativeActivity* activity);
21 static void onDestroy(ANativeActivity* activity);
static void * onSaveInstanceState(ANativeActivity *activity, size_t *outSize)
int main(int argc, const char *argv[])
static void onNativeWindowCreated(ANativeActivity *activity, ANativeWindow *window)
static void onInputQueueDestroyed(ANativeActivity *activity, AInputQueue *queue)
static void onStart(ANativeActivity *activity)
static void onNativeWindowDestroyed(ANativeActivity *activity, ANativeWindow *window)
static void onDestroy(ANativeActivity *activity)
static void onInputQueueCreated(ANativeActivity *activity, AInputQueue *queue)
void shutdowApplication()
static void onConfigurationChanged(ANativeActivity *activity)
static void onNativeWindowRedrawNeeded(ANativeActivity *activity, ANativeWindow *window)
static void onWindowFocusChanged(ANativeActivity *activity, int hasFocus)
static void onNativeWindowResized(ANativeActivity *activity, ANativeWindow *window)
static void onPause(ANativeActivity *activity)
static void onResume(ANativeActivity *activity)
static void onLowMemory(ANativeActivity *activity)
static void onContentRectChanged(ANativeActivity *activity, const ARect *rect)
AndroidApp(ANativeActivity *activity, void *savedState, size_t savedStateSize)
static void onStop(ANativeActivity *activity)