A few issues on Android


I’m having some issues with SDL 2 (2.0.3) on Android. More specifically, my Samsung Galaxy S6. I think
I require some help from you guys.

When I launch my app, it appears to be running fine (sound is playing, reacts to tapping etc), but the screen
is BLANK. It is completely black, except for a round icon in the bottom right corner, which has three dots in it.

Here’s a screenshot: http://anony.ws/image/JtqH

If I press the left touch button (to bring up the list of active programs on my phone), and then go back to my app,
the graphics suddenly become visible. I have to do this everytime I launch my app, or else the screen is just blank.

I found this thread: https://forums.libsdl.org/viewtopic.php?t=11292

Unfortunately, removing those two lines didn’t solve my problem. I did however increase my frame rate considerably.

I’ve found (from Google research) that the round icon with three dots is “the toolbox”, some kind of menu on Samsung
phones. It doesn’t do anything however - you can move it around if you tap it and drag, but it can’t be pushed, opened
or interacted with in any other way. I’ve also never seen it in any other app before. It literally does nothing except
for clogging up the screen.

Is there a way to get rid of it somehow?

The audio is pretty laggy. Decreasing the chunk size in Mix_OpenAudio() has no apparent effect. I’d estimate the sound
is delayed about half a second, which is quite noticeable when playing sound effects.

Is there anything that can be done about this?

Thank you very much for any answers.