SDL_android.h File Reference
`#include "../../SDL_internal.h"`
`#include <EGL/eglplatform.h>`
`#include <android/native_window_jni.h>`
`#include "SDL_rect.h"`
`#include "SDL_rwops.h"`
`#include <jni.h>`
Include dependency graph for SDL_android.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Functions

void | Android_JNI_SetActivityTitle (const char *title)
SDL_bool | Android_JNI_GetAccelerometerValues (float values[3])
void | Android_JNI_ShowTextInput (SDL_Rect *inputRect)
void | Android_JNI_HideTextInput (void)
ANativeWindow * | Android_JNI_GetNativeWindow (void)
int | Android_JNI_OpenAudioDevice (int sampleRate, int is16Bit, int channelCount, int desiredBufferFrames)
void * | Android_JNI_GetAudioBuffer (void)
void | Android_JNI_WriteAudioBuffer (void)
void | Android_JNI_CloseAudioDevice (void)
int | Android_JNI_FileOpen (SDL_RWops *ctx, const char *fileName, const char *mode)
Sint64 | Android_JNI_FileSize (SDL_RWops *ctx)
Sint64 | Android_JNI_FileSeek (SDL_RWops *ctx, Sint64 offset, int whence)
size_t | Android_JNI_FileRead (SDL_RWops *ctx, void *buffer, size_t size, size_t maxnum)
size_t | Android_JNI_FileWrite (SDL_RWops *ctx, const void *buffer, size_t size, size_t num)
int | Android_JNI_FileClose (SDL_RWops *ctx)
int | Android_JNI_SetClipboardText (const char *text)
char * | Android_JNI_GetClipboardText (void)
SDL_bool | Android_JNI_HasClipboardText (void)
int | Android_JNI_GetPowerInfo (int *plugged, int *charged, int *battery, int *seconds, int *percent)
void | Android_JNI_PollInputDevices (void)
void | Android_JNI_SuspendScreenSaver (SDL_bool suspend)
int | Android_JNI_GetTouchDeviceIds (int **ids)
JNIEnv * | Android_JNI_GetEnv (void)
int | Android_JNI_SetupThread (void)
jclass | Android_JNI_GetActivityClass (void)
int | Android_JNI_SendMessage (int command, int param)

## Function Documentation

void Android_JNI_CloseAudioDevice | ( | void |  | ) |

int Android_JNI_FileClose | ( | SDL_RWops * | ctx | ) |

Referenced by SDL_RWFromFile().

int Android_JNI_FileOpen | ( | SDL_RWops * | ctx,
|  | const char * | fileName,
|  | const char * | mode
| ) |  |

Referenced by SDL_RWFromFile().

size_t Android_JNI_FileRead | ( | SDL_RWops * | ctx,
|  | void * | buffer,
|  | size_t | size,
|  | size_t | maxnum
| ) |  |

Referenced by SDL_RWFromFile().

Sint64 Android_JNI_FileSeek | ( | SDL_RWops * | ctx,
|  | Sint64 | offset,
|  | int | whence
| ) |  |

Referenced by SDL_RWFromFile().

Sint64 Android_JNI_FileSize | ( | SDL_RWops * | ctx | ) |

Referenced by SDL_RWFromFile().

size_t Android_JNI_FileWrite | ( | SDL_RWops * | ctx,
|  | const void * | buffer,
|  | size_t | size,
|  | size_t | num
| ) |  |

Referenced by SDL_RWFromFile().

SDL_bool Android_JNI_GetAccelerometerValues | ( | float | values[3] | ) |

jclass Android_JNI_GetActivityClass | ( | void |  | ) |

void* Android_JNI_GetAudioBuffer | ( | void |  | ) |

char* Android_JNI_GetClipboardText | ( | void |  | ) |

JNIEnv* Android_JNI_GetEnv | ( | void |  | ) |

ANativeWindow* Android_JNI_GetNativeWindow | ( | void |  | ) |

int Android_JNI_GetPowerInfo | ( | int * | plugged,
|  | int * | charged,
|  | int * | battery,
|  | int * | seconds,
|  | int * | percent
| ) |  |

int Android_JNI_GetTouchDeviceIds | ( | int ** | ids | ) |

SDL_bool Android_JNI_HasClipboardText | ( | void |  | ) |

void Android_JNI_HideTextInput | ( | void |  | ) |

int Android_JNI_OpenAudioDevice | ( | int | sampleRate,
|  | int | is16Bit,
|  | int | channelCount,
|  | int | desiredBufferFrames
| ) |  |

void Android_JNI_PollInputDevices | ( | void |  | ) |

int Android_JNI_SendMessage | ( | int | command,
|  | int | param
| ) |  |

void Android_JNI_SetActivityTitle | ( | const char * | title | ) |

int Android_JNI_SetClipboardText | ( | const char * | text | ) |

int Android_JNI_SetupThread | ( | void |  | ) |

Referenced by RunThread().

void Android_JNI_ShowTextInput | ( | SDL_Rect * | inputRect | ) |

void Android_JNI_SuspendScreenSaver | ( | SDL_bool | suspend | ) |

void Android_JNI_WriteAudioBuffer | ( | void |  | ) |