summaryrefslogtreecommitdiff
path: root/contrib/SDL-3.2.8/android-project/app/jni/src/YourSourceHere.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/SDL-3.2.8/android-project/app/jni/src/YourSourceHere.c')
-rw-r--r--contrib/SDL-3.2.8/android-project/app/jni/src/YourSourceHere.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/contrib/SDL-3.2.8/android-project/app/jni/src/YourSourceHere.c b/contrib/SDL-3.2.8/android-project/app/jni/src/YourSourceHere.c
deleted file mode 100644
index 87b8297..0000000
--- a/contrib/SDL-3.2.8/android-project/app/jni/src/YourSourceHere.c
+++ /dev/null
@@ -1,26 +0,0 @@
1#include <SDL3/SDL.h>
2#include <SDL3/SDL_main.h>
3
4/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
5/* */
6/* Remove this source, and replace with your SDL sources */
7/* */
8/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
9
10int main(int argc, char *argv[]) {
11 (void)argc;
12 (void)argv;
13 if (!SDL_Init(SDL_INIT_EVENTS | SDL_INIT_VIDEO)) {
14 SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL_Init failed (%s)", SDL_GetError());
15 return 1;
16 }
17
18 if (!SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_INFORMATION, "Hello World",
19 "!! Your SDL project successfully runs on Android !!", NULL)) {
20 SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL_ShowSimpleMessageBox failed (%s)", SDL_GetError());
21 return 1;
22 }
23
24 SDL_Quit();
25 return 0;
26}