Kotai the sdl2 4 android use java the graphics ,audio and input is build on java and not native look the source codes you need jni to start the sdl and java to pass the android pointers macos linux and windows use opengl and windows api
your code is fine 4 all you systems but 4 android you need eclipse to create the android apk or the command (android)
look this code
https://bitbucket.org/ntlucas/sdl2/s...ava?at=default
Bookmarks