[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Pygame for Android



Hi,

on the upcomming android you can write apps with zero java :)  Of course that is on 0.01% of peoples devices so far... but still nice for later.

"""If you're still looking at SDL-on-Android, you might want to check out
the Gingerbread SDK/NDK, which now provides a mechanism for native
apps that have access to libc, libm, libz, opengl|ES, opensl|ES,
input/events/sensors, app/activity lifecycle, resources, etc, without
the need to write any Java code.  JNI is available for access to
higher level Java APIs in the platform.

http://developer.android.com/sdk/android-2.3.html
http://developer.android.com/sdk/ndk/index.html
http://developer.android.com/reference/android/app/NativeActivity.html
"""


On Mon, Dec 6, 2010 at 6:01 PM, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
Hi Tom,

On 06/12/10 09:35 AM, Tom Rothamel wrote:


On Mon, Dec 6, 2010 at 11:16 AM, stas zytkiewicz <stas.zytkiewicz@xxxxxxxxx <mailto:stas.zytkiewicz@xxxxxxxxx>> wrote:

   Are you planning to eventually port the pygame.mixer ?


I'm not sure what the strategy for this would be. At the very least, I'll document the sound playback code I have now - and perhaps I'll try to write a compatibility layer.


pygame.mixer wraps SDL_Mixer, which in turn provides a high level interface to SDL's sound interface. I believe SDL_mixer can be built without other dependencies such as SMPEG and ogg/vorbis. So if SDL audio works on the Android then pygame.mixer should work without changes.

Lenard Lindstrom