SDL Forum Index
SDL
Simple DirectMedia Layer Forums
Reply to topic
SDL on Android
nfries88


Joined: 24 Oct 2009
Posts: 100
Reply with quote
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.
View user's profileSend private message
SDL on Android
Sam Lantinga


Joined: 10 Sep 2009
Posts: 1595
Reply with quote
Hmm, now if only I had a G1... Smile

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. Smile

See ya!

On Fri, Oct 23, 2009 at 8:42 PM, nfries88 wrote:
Quote:
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

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org





--
-Sam Lantinga, Founder and President, Galaxy Gameworks LLC
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
View user's profileSend private message
SDL on Android
Bill Kendrick
Guest

Reply with quote
On Fri, Oct 23, 2009 at 08:42:59PM -0700, nfries88 wrote:
Quote:
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' Wink Takes me back to the awesome days of
the Sharp Zaurus.

-bill!
(dude, did I just say "+1"? ugh)
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
nfries88


Joined: 24 Oct 2009
Posts: 100
Reply with quote
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).
View user's profileSend private message
SDL on Android
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic