how to use sdl gui (SDL_SetVideoMode,....) in android? -


i planning use sdl library in order render video streaming in android screen . started cross compiling sdl library android ics version.

then created small jni file put 2 instructions in method:

 sdl_surface *screen;  logi("screen");  screen = sdl_setvideomode(320, 240, 0, 0); 

but no matter values put in sdl_setvideomode(,,,) segmentation fault (segv 11 code=1).

i wonder right way render sdl gui in android screen?

i stuck , dont know how bypass error!!

i thankfull if me!!!


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -