RESOLVED: One bug left: After ending one game logcat is spammed with "W/dalvikvm(19986): Exception thrown (Ljava/lang/NullPointerException;) while throwing internal exception (Ljava/lang/NullPointerException;)" when closing the first game and then no other game starts anymore...
and no game starts anymore. I assume SDL doesnt terminate correctly.
On some devices (Samsung e.g.) the game is reddish. This is a SDL 2.0.3 bug.
Workaround: Disable hardware overlays in the developer options of your device :(
Android: Update SDLActivity to 2.0.3
Target API12 for joystick support (min is still 10)
Why do you do this? both blocks do the same.
Oh that was to workaround a compile error because the classes weren't available in API10. But I figured out now how to compile with API12 and still support API10 (Android 2.3.3)
Android: Workaround SDL bug: https://bugzilla.libsdl.org/show_bug.cgi…
Android: Reset versionCode and versionName
Replace EventFilter with a WaitEvent-loop because of Android doesn't …
…wait at the filter
Player::Exit wasn't called. Fixes resuming in Android, yeah!
Android should work again now :)
Ready for merge