page.title=native_activity.h File Reference page.customHeadTag= @jd:body
Data Structures | Typedefs | Enumerations | Functions | Variables
native_activity.h File Reference
#include <stdint.h>
#include <sys/types.h>
#include <jni.h>
#include <android/asset_manager.h>
#include <android/input.h>
#include <android/native_window.h>

Data Structures

struct  ANativeActivity
 
struct  ANativeActivityCallbacks
 

Typedefs

typedef struct ANativeActivity ANativeActivity
 
typedef struct
ANativeActivityCallbacks 
ANativeActivityCallbacks
 
typedef void ANativeActivity_createFunc (ANativeActivity *activity, void *savedState, size_t savedStateSize)
 

Enumerations

enum  { ANATIVEACTIVITY_SHOW_SOFT_INPUT_IMPLICIT = 0x0001, ANATIVEACTIVITY_SHOW_SOFT_INPUT_FORCED = 0x0002 }
 
enum  { ANATIVEACTIVITY_HIDE_SOFT_INPUT_IMPLICIT_ONLY = 0x0001, ANATIVEACTIVITY_HIDE_SOFT_INPUT_NOT_ALWAYS = 0x0002 }
 

Functions

void ANativeActivity_finish (ANativeActivity *activity)
 
void ANativeActivity_setWindowFormat (ANativeActivity *activity, int32_t format)
 
void ANativeActivity_setWindowFlags (ANativeActivity *activity, uint32_t addFlags, uint32_t removeFlags)
 
void ANativeActivity_showSoftInput (ANativeActivity *activity, uint32_t flags)
 
void ANativeActivity_hideSoftInput (ANativeActivity *activity, uint32_t flags)
 

Variables

ANativeActivity_createFunc ANativeActivity_onCreate