SDL on Android

View: New views
4 Messages — Rating Filter:   Alert me  

SDL on Android

by nfries88 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Android finally has a native development kit (as of late June, it would seem, though I only discovered it recently), which as far as I understood was the major stumbling point for no SDL port to the Android system.

I've read of other SDL users having success building SDL 1.2 with very small tweaks using third party tools, so my guess is that porting SDL 1.3 to the Android should not be a large task - probably too large for myself, given my inexperience and lack of time at the moment, but certainly not for the SDL community as a whole - so I find myself wondering, is there any work in progress to port SDL 1.3 to the system at the moment, or even any plans to do so?

I'd certainly like to play some SDL-driven games on my G1 in the near future, even if I must build them myself. This is the main cause of my interest.

_______________________________________________
SDL mailing list
SDL@...
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Re: SDL on Android

by Sam Lantinga-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hmm, now if only I had a G1... :)

To directly answer your question, no there are no plans, but I'd love
to have someone start working on it, and I'll work with them to help
get SDL 1.3 running on it. :)

See ya!

On Fri, Oct 23, 2009 at 8:42 PM, nfries88 <nfries88@...> wrote:

> Android finally has a native development kit (as of late June, it would
> seem, though I only discovered it recently), which as far as I understood
> was the major stumbling point for no SDL port to the Android system.
>
> I've read of other SDL users having success building SDL 1.2 with very small
> tweaks using third party tools, so my guess is that porting SDL 1.3 to the
> Android should not be a large task - probably too large for myself, given my
> inexperience and lack of time at the moment, but certainly not for the SDL
> community as a whole - so I find myself wondering, is there any work in
> progress to port SDL 1.3 to the system at the moment, or even any plans to
> do so?
>
> I'd certainly like to play some SDL-driven games on my G1 in the near
> future, even if I must build them myself. This is the main cause of my
> interest.
> _______________________________________________
> SDL mailing list
> SDL@...
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>



--
        -Sam Lantinga, Founder and President, Galaxy Gameworks LLC
_______________________________________________
SDL mailing list
SDL@...
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Re: SDL on Android

by Bill Kendrick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Oct 23, 2009 at 08:42:59PM -0700, nfries88 wrote:
>    I'd certainly like to play some SDL-driven games on my G1 in the near
>    future, even if I must build them myself. This is the main cause of my
>    interest.

+1 - Just got an HTC Ion.  It's my first up-close look at Android, and I
must say I'm impressed.  (Way slicker than the iPod Touch I have for
work purposes (ebooks).)

Launch SSH, go to web browser, go install some apps.  They all run
simultaneous.  As Verzion has been touting for their upcoming "Droid"
handset, the iPhone 'don't' ;)   Takes me back to the awesome days of
the Sharp Zaurus.

-bill!
(dude, did I just say "+1"?  ugh)
_______________________________________________
SDL mailing list
SDL@...
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Re: SDL on Android

by nfries88 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Well, discussion of the superiority of the Android system and the badass devices that are driven by it aside, I've been doing a little googling and found the following:

1) Successful attempts at running SDL 1.2 on Android used the fbcon backend, using /dev/graphics/fb0 instead of /dev/fb0
2) Key events are received from /dev/input/event0 and touchscreen events are supposedly received from /dev/input/event1 (but are more confusing).
I don't know if the current fbcon event fetching methods work for Android or not, the pages I've found made no mention of it.
3) Android devs think userland events should be fetched through JNI (but then again they also think EVERYTHING should be done via their DalvikVM unless there's just no other way to do it).

_______________________________________________
SDL mailing list
SDL@...
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org