Re: [pygame] Pygame Subset for Android 0.9.1

2011-01-07 Thread Tom Rothamel
On Thu, Jan 6, 2011 at 1:35 PM, stas zytkiewicz
stas.zytkiew...@gmail.comwrote:

 Do we discuss pysubset here or is there a dedicated ML ?


At least for now, why don't we discuss it here? We can always move when the
amount of traffic increases.


 Do you plan on providing some cookbook for code samples and examples ?
 I suspect we run into problems that would have some common solutions and
 it would be nice to post them somewhere.


That's a good idea - when I get a chance, I'll set up a wiki or something.


 The python module Configparser isn't included, is it possible to include
 it ?


I haven't figured out which parts of the standard library should be
included. For pure-python modules, even if the module isn't included, it can
be used by including it with the app, so that might be the better approach
for rarely-used modules. (Now the question is - is configparser rarely
used?)

Is there support for the android sqlite dbase ?


No. I don't believe that's accessible from the NDK.


Re: [pygame] Pygame Subset for Android 0.9.1

2011-01-07 Thread Alex Nordlund
On Thu, Jan 6, 2011 at 5:30 AM, Tom Rothamel t...@rothamel.us wrote:
 I've also made available a packaging tool that can be used to create Android
 packages from Pygame games.

Do you have any networking support in it?

---
//Alex


Re: [pygame] Pygame Subset for Android 0.9.1

2011-01-07 Thread Tom Rothamel
On Fri, Jan 7, 2011 at 5:40 PM, Alex Nordlund deep.alexan...@gmail.comwrote:

 On Thu, Jan 6, 2011 at 5:30 AM, Tom Rothamel t...@rothamel.us wrote:
  I've also made available a packaging tool that can be used to create
 Android
  packages from Pygame games.

 Do you have any networking support in it?


If you mean the packaging tool, no, I haven't included that. Google recently
updated the maximum package size to 50 MB, which should be large enough for
most reasonably-sized games. What I'll probably do sometime in the future is
to add the networking permission to pygame, so that a larger game could run
a downloader to grab its own data files.


Re: [pygame] Pygame Subset for Android 0.9.1

2011-01-07 Thread stas zytkiewicz
On Fri, Jan 7, 2011 at 10:40 PM, Tom Rothamel t...@rothamel.us wrote:
 On Thu, Jan 6, 2011 at 1:35 PM, stas zytkiewicz stas.zytkiew...@gmail.com
 wrote:

 The python module Configparser isn't included, is it possible to include
 it ?

 I haven't figured out which parts of the standard library should be
 included. For pure-python modules, even if the module isn't included, it can
 be used by including it with the app, so that might be the better approach
 for rarely-used modules. (Now the question is - is configparser rarely
 used?)
Configparser is not mission critical and as you say it can always be included
in the app itself.
Perhaps we better wait and see which missing parts are frequently used.
I for one have written a simple Logfile replacement so that I didn't
have to rewrite
my programs for the android version.
I suspect that most python programs use the Logfile module so it might be
a candidate for inclusion ?
Not that it's hard to live without but it would be nice to port
existing stuff to
android without rewriting to much code.

Stas

-- 
Free-source educational programs for schools
http://www.schoolsplay.orgĀ  and http://wiki.laptop.org/go/Schoolsplay
http://gvr.sf.net and http://wiki.laptop.org/go/Guido_van_Robot