On Tue, Feb 15, 2011 at 03:06:07PM +0100, Carl Friedrich Bolz wrote: > On 02/15/2011 12:51 PM, Laura Creighton wrote:
> > http://www.freedominput.com/freedom-accessories/freedom-pro-keyboard which > > works with Android. > > > > which makes the whole idea of being able to sit down and program whenever > > the mood strikes you, even when your laptop is far away or out of power > > more attractive, since you can touchtype. > > > > But that doesn't make me want to start programming in java. > > Especially for the sort of quick and dirty calculations I use python > > -c for. > > I am sure you know of this then: > > http://code.google.com/p/android-scripting/ > > It's an app for Android that lets you script the phone with various > dynamic languages (including Python). Actually I think that PyPy > could/should be made to work with this thing. It would not quite make > PyPy a first class VM on the phone, but would already give you access to > a number of phone-specific features. the Scripting eniroment uses an enviroment varible to indicate a socket to connect to, once connected you make JSON calls over the socket to access the platform API's that are done via a java proxy. porting pypy to run in the enviroment would be as simple as compiling an arm port and importing the (all python) proxy libary i have a couple of scripts running on my phone for utility functions (checking my site is up and such) the API is a bit limited and i think that pypy running on the native VM would be more flexible for creating "full" programs (cant acceses many GUI componenets from this restricted enviroment) _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
