Just wondering if anyone with mobile phone savvy, knows whether we might be able to hack the upcoming Google G-Phone, based on the Android linux/java based OS.

It is supposedly opensource, so I assume it will be running an X server. Does anyone think we might be able to run Perl and Tk or GTk2 apps?


I'm not really a human, but I play one on earth. Cogito ergo sum a bum

Replies are listed 'Best First'.
Re: Perl and the G-Phone
by dragonchild (Archbishop) on Nov 08, 2007 at 21:29 UTC
    Given that Perl works on both Linux and Symbian (a Java-based OS), then I think we're pretty safe. As for it running X, that's really doubtful. X is HEAVY and has a bunch of functionality that isn't needed (though doing an X-term to your friend's phone would be kinda cool ...)

    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
      Nonetheless, companies are starting to work on X11-based Linux/other phones. A subset X11 itself can actually be very light.

      As an example, Carsten Haitzler (of Enlightenment) has just joined OpenMoko to work on building embedded UIs for Mobile phones using Evas, etc on X11.

      -David

      (nit: Symbian isn't Java based, it's implemented in C++. Java apps can and do run on top of Symbian via J2ME, but they're not considered native, only C++ apps are).

      Google have written their own UI toolkit for their new mobile OS (not unlike Qtopia). I don't know if that will use X, but anyway that will be seamless to the application developer.

      I would guess that it's a question of whether the Perl interpreter can be ported to the new OS, but as you say given that it was ported to Symbian years ago (on devices far less powerful than the ones coming out now) and of course Perl works on Linux, my guess is that it would be possible.

      Cheers


      --
      bm