[SDL] A tiny SDL Android feature request

Martin Gerhardy martin.gerhardy at gmail.com
Sun Mar 31 11:45:12 PDT 2013


Am 31.03.2013 19:08, schrieb Alexey Petruchik:
> Hi all. It's very useful to use SDL2 for android game development. But
> sometimes you need to add some more custom java code (Facebook
> integration for example). It's obviously a bad idea to modify
> SDLActivity.java directly because you will get nasty conflicts once
> it's updated in SDL repo. So better is to subclass from SDLActivity
> and place all your code in subclass. The problem is that I need access
> to "private static ViewGroup mLayout;" in my subclass. So my proposal
> is to change all "private static" to "protected static". Can someone
> with write access do it for me? Too lazy to make patch for such simple
> find-and-replace thing. Thanks in advance.
>
> Regards, Alexey
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
see here: http://bugzilla.libsdl.org/show_bug.cgi?id=1752



More information about the SDL mailing list