Python bindings based on Phonegap?

Lester Leong lester.bleong at gmail.com
Wed Jun 27 10:16:48 EDT 2012


I'm assuming those tweaks are for backend code. A Phonegap binding
would still be immensely useful because the frontend HTML5/Javascript
code would be reusable across platforms. Not to mention, they could be
re-used even in a server environment as long as the backend is
rewritten. That's still plenty of code reuse versus the standard
PyGTK/PyGame route.

I'm curious to know if anyone has written even a subset of the
Phonegap bindings. For my application, I'm looking for basic things,
mostly having to do with database calls.

On Wed, Jun 27, 2012 at 1:38 AM, John Gilmore <gnu at toad.com> wrote:
>> Does anyone know if there are Python bindings based off the Phonegap
>> API, with similar method calls, etc.?
>>
>> I'm developing an HTML5/Javascript activity that I would like to
>> eventually port to Android and other mobile platforms. Having a set of
>> Phonegap-like Python bindings for Sugar would help considerably.
>
> Sounds like doing a native Linux port of Phonegap would be a useful
> addition, with both X11 and Sugar window interfaces.  Then Phonegap
> apps could, perhaps, work on both classic Linux machines and on OLPCs.
>
> Hmm, it looks to me like Phonegap isn't a "write once, run everywhere"
> kind of thing.  According to the doc, every platform your app targets
> needs tweaks in the app, and/or needs a development tools platform for
> that target.  It's more like classic Unix portability: "how to build
> your app so that you can copy the source to 7 different build
> environments and get it to build and run on each one."
>
>        John



More information about the Devel mailing list