I have developed a video player on android using SDL1.3. The player must support resize the play window when rotate the phone screen. Now , sometimes, will never return on java layer, focus on the line:
EGLSurface surface = egl.eglCreateWindowSurface(dpy, config, this, null) in function initEGL()
I have developed a video player on android using SDL1.3. The player must
support resize the play window when rotate the phone screen. Now ,
sometimes, will never return on java layer, focus on the line:
EGLSurface surface = egl.eglCreateWindowSurface(dpy, config, this, null)
in function initEGL()
I think, at the moment, the Android target ignores any screen size
requests and just gives you the full resolution of the screen (someone
reported that you can just create a 0x0 pixel window and you still get
the full screen). This is a bug (or at least an unimplemented piece of
code) in SDL for Android.
I would assume that, therefore, a “resizable” window isn’t currently
supported either.