Skip to content

RandomPersonLikesCode/android-sdl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDL3 Demo (Built On-Device Using Termux)

HELP

With the upcoming Google's policy regarding Android developer verification, open source Android projects is in danger, so please spread this information to everyone including fellow Android developers and don't forget to send a link to KeepAndroidOpen!

About

This just a demo using C and Java, and also SDL3 to build Android Games, This project is also tested on-device using Termux to build.

Build Command

To build, make sure to have a keystore file using keytool, set bash script named conf.bash with this inside:

ks_file=<file>
ks_alias=<alias>
ks_pass=<pass>

min_sdk_ver=<min-sdk-version>
target_sdk_ver=<target-sdk-version>
ndk_ver=<ndk-version>

c_src=(
  "main.c"
  "sdl_window_context.c"
  # Other C source files
)

then run:

./build.bash --conf=conf.bash

To just clean build artifacts, run:

./build.bash --clean

Note: make sure to replace <file>, <alias>, <pass> and others with the appropriate value.

License

This project is licensed under MIT license (see LICENSE), this project also uses third-party libraries, license copy for each third-party libraries can be found in each subdirectory inside third_party/ folder.

About

Simple demo of using SDL for Android application.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Contributors