The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.
SDL
Simple Directmedia Layer Forums
SDL2 android lifecycle
Owen Alanzo Hogarth
Guest
Posted: Wed Aug 26, 2015 9:08 am
I am trying to modify SDL2 on android but I am running into a few issues.
I call the functions to initialize the .so and those work fine.
I am trying to wrap up the way that I call ?class SDLSurface extends SurfaceView?
I call new and I get the constructor callback but after that, no other calls go through.
What's the call order from SDLmain through to setting up the class SDLsurface on android? Can I wrap that sdlsurface class in another class and control it from there?