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 Forum Index
SDL
Simple Directmedia Layer Forums
new patch
Owen Alanzo Hogarth
Guest

I just submitted an android based patch on bugzilla. Hopefully that get some eyes.

I was looking more into the android lifecycle issues some people were having and it seems that if you kill an SDL app through the task manager the last call that I can see is onsurfacedestroyed.


Example.
launch your app, press the multi-task key to bring up a list of open applications, swipe the SDL app away.


The last call for me on my devices is onsurfacedestroyed being called from the android side. It doesn't show any calls to nativequit, this along with the fact that there are static variables in the SDLActivity.java could be the cause of some of the android related bugs?