The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
libSDL port on Android
Sergiy Pylypenko
Guest

Hi

I've made preliminary port of libSDL 1.2.14 to Google Android platform:
http://www.anddev.org/sdl_port_for_android_sdk-ndk_16-t9218.html

There's no sound yet, and no multitouch (will be in Android 2.0 which is still not released),
everything other seems to be working.
Re: libSDL port on Android
nfries88


Joined: 24 Oct 2009
Posts: 100
Sergiy Pylypenko wrote:
Hi

I've made preliminary port of libSDL 1.2.14 to Google Android platform:
http://www.anddev.org/sdl_port_for_android_sdk-ndk_16-t9218.html

There's no sound yet, and no multitouch (will be in Android 2.0 which is still not released),
everything other seems to be working.


since you went to the trouble, could you give a crack at porting SDL 1.3 (since that's the future of SDL) as well?
Re: libSDL port on Android
pelya


Joined: 27 Nov 2009
Posts: 30
nfries88 wrote:
Sergiy Pylypenko wrote:
Hi

I've made preliminary port of libSDL 1.2.14 to Google Android platform:
http://www.anddev.org/sdl_port_for_android_sdk-ndk_16-t9218.html

There's no sound yet, and no multitouch (will be in Android 2.0 which is still not released),
everything other seems to be working.


since you went to the trouble, could you give a crack at porting SDL 1.3 (since that's the future of SDL) as well?


I'll do that in a several weeks, right now I'm too tired of porting.
That port is actually a wrapper around GLES built in Android, plus general app architecture on Android is hacky - you have to build .so library and launch it from Java application, and render only when Java calls C render routine, not when you want.
There should be general OpenGL/GLES videodriver in SDL to provide hardware surfaces, I think I'll reuse it somehow.