Re: [semi OT]: Smartphones and Python?

2012-02-27 Thread Amirouche Boubekki
for which I could write Python programs.
>

Android is good bet, kivy has official support for it
http://kivy.org/docs/guide/android.html
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [semi OT]: Smartphones and Python?

2012-02-20 Thread Dan Stromberg
On Wed, Feb 15, 2012 at 3:36 PM, Paul Rubin  wrote:

> Martin Schöön  writes:
> > A very quick internet search indicated that this should be no big
> > deal if I go for an Android-based phone. What about the alternatives?
>
> It works pretty well with Maemo, though phones with that are not so easy
> to find.  My ex-officemate wrote some SL4A (Android) apps in Python and
> said it was pretty easy to use, though some features were missing.  I
> know that one missing feature was tkinter.
>

The missing features is why I wish SL4A's Python were based on jython or
the java version of pypy.  Apparently each new function needs a stub for
the SL4A CPython; something that runs on a JVM (OK: Dalvik really, but it's
almost the same thing) should be able to call java functions directly.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [semi OT]: Smartphones and Python?

2012-02-18 Thread Matej Cepl

On 16.2.2012 16:22, Michael Torrie wrote:

Android simply isn't going to run the JVM anytime soon.


In reality yes, but just technically speaking there is the project 
IcedRobot (http://www.icedrobot.org/), which is a fork of Android over 
OpenJDK.


Best,

Matěj
--
http://mail.python.org/mailman/listinfo/python-list


Re: [semi OT]: Smartphones and Python?

2012-02-16 Thread 88888 Dihedral
在 2012年2月16日星期四UTC+8下午11时22分44秒,Michael Torrie写道:
> On 02/16/2012 07:53 AM, 8 Dihedral wrote:
> > The law suites of JAVA Vitrtual Machine from Oracle
> > are famous now. But in 201X the JVM patents will be 
> > expired, thus it is not very urgent to chunk out a new jython now. Anyway 
> > just write codes that can be maintained and  ported to other languages and 
> > platforms
> > easily.
> 
> Umm what does this have to do with anything?
> 
> You claimed Jython is or will be available on Android. It's not and
> Jython isn't being ported to Dalvik and it has nothing to do with
> patents.  Android might use java a language, but the virtual machines
> are very different.  And no expired patents are going to change that
> fact.  Android simply isn't going to run the JVM anytime soon.

Android is a customized linux OS used in mobile phones.
I don't think any linux systm has to be locked by JAVA or any JVM to run 
applications.

The memory systems in mobile phones are different from
PCs. This is the current situation in the consumer
electronics sector.

 
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [semi OT]: Smartphones and Python?

2012-02-16 Thread Michael Torrie
On 02/16/2012 10:38 AM, Grant Edwards wrote:
> I got curious about Dalvik, and was looking at the Wikipedia page,
> where it says that programs for Android are compiled into bytecode in
> JVM compatible .class files.  Those files are then converted into .dex
> files to run on Davlik.
> 
> I don't know much at all about Jython, but if it generates JVM byte
> code, mightn't the same conversion to .dex be applicable?

I think it has to do with the fact that Jython does dynamic class
generation and loading.  Similarly I don't think JBoss or Tomcat could
be ported easily to Dalvik without making lots of changes to the class
loading stuff.  But I know nothing about Java, so I could be way wrong here.


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [semi OT]: Smartphones and Python?

2012-02-16 Thread Grant Edwards
On 2012-02-16, Grant Edwards  wrote:
> On 2012-02-16, Michael Torrie  wrote:
>
>> You claimed Jython is or will be available on Android. It's not and
>> Jython isn't being ported to Dalvik and it has nothing to do with
>> patents.  Android might use java a language, but the virtual machines
>> are very different.  And no expired patents are going to change that
>> fact.  Android simply isn't going to run the JVM anytime soon.
>
> I got curious about Dalvik, and was looking at the Wikipedia page,
> where it says that programs for Android are compiled into bytecode in
> JVM compatible .class files.  Those files are then converted into
> .dex files to run on Davlik.
>
> I don't know much at all about Jython, but if it generates JVM byte
> code, mightn't the same conversion to .dex be applicable?

Apparently there was a project to do just that:

  http://code.google.com/p/jythonroid/

But it's been abandonded in favor of SL4A, which offers a 
PythonForAndroid_r4.apk download.  There's a book about Python on
Android via SL4A called _Pro_Android_Python_with_SL4A_.

  http://www.apress.com/9781430235699

Interesting...
  
-- 
Grant Edwards   grant.b.edwardsYow! World War III?
  at   No thanks!
  gmail.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [semi OT]: Smartphones and Python?

2012-02-16 Thread Grant Edwards
On 2012-02-16, Michael Torrie  wrote:


> You claimed Jython is or will be available on Android. It's not and
> Jython isn't being ported to Dalvik and it has nothing to do with
> patents.  Android might use java a language, but the virtual machines
> are very different.  And no expired patents are going to change that
> fact.  Android simply isn't going to run the JVM anytime soon.

I got curious about Dalvik, and was looking at the Wikipedia page,
where it says that programs for Android are compiled into bytecode in
JVM compatible .class files.  Those files are then converted into .dex
files to run on Davlik.

I don't know much at all about Jython, but if it generates JVM byte
code, mightn't the same conversion to .dex be applicable?

-- 
Grant Edwards   grant.b.edwardsYow! What I want to find
  at   out is -- do parrots know
  gmail.commuch about Astro-Turf?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [semi OT]: Smartphones and Python?

2012-02-16 Thread Benjamin Kaplan
On Feb 16, 2012 10:25 AM, "Michael Torrie"  wrote:
>
> On 02/16/2012 07:53 AM, 8 Dihedral wrote:
> > The law suites of JAVA Vitrtual Machine from Oracle
> > are famous now. But in 201X the JVM patents will be
> > expired, thus it is not very urgent to chunk out a new jython now.
Anyway just write codes that can be maintained and  ported to other
languages and platforms
> > easily.
>
> Umm what does this have to do with anything?
>
> You claimed Jython is or will be available on Android. It's not and
> Jython isn't being ported to Dalvik and it has nothing to do with
> patents.  Android might use java a language, but the virtual machines
> are very different.  And no expired patents are going to change that
> fact.  Android simply isn't going to run the JVM anytime soon.
> --

I believe the general consensus is that 8 is a bot. it makes lots of
posts that mention key words from the thread its replying to but don't
actually mean anything.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [semi OT]: Smartphones and Python?

2012-02-16 Thread Michael Torrie
On 02/16/2012 07:53 AM, 8 Dihedral wrote:
> The law suites of JAVA Vitrtual Machine from Oracle
> are famous now. But in 201X the JVM patents will be 
> expired, thus it is not very urgent to chunk out a new jython now. Anyway 
> just write codes that can be maintained and  ported to other languages and 
> platforms
> easily.

Umm what does this have to do with anything?

You claimed Jython is or will be available on Android. It's not and
Jython isn't being ported to Dalvik and it has nothing to do with
patents.  Android might use java a language, but the virtual machines
are very different.  And no expired patents are going to change that
fact.  Android simply isn't going to run the JVM anytime soon.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [semi OT]: Smartphones and Python?

2012-02-16 Thread 88888 Dihedral
The law suites of JAVA Vitrtual Machine from Oracle
are famous now. But in 201X the JVM patents will be 
expired, thus it is not very urgent to chunk out a new jython now. Anyway just 
write codes that can be maintained and  ported to other languages and platforms
easily.

Then I personally prefer python.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [semi OT]: Smartphones and Python?

2012-02-15 Thread Michael Torrie
On 02/15/2012 07:38 PM, 8 Dihedral wrote:
> In the 4 G space of SW AP in Adndroid phones,
> check Jython. But I think a better data compression 
> modules  is more helpful. 

Jython, though a very cool and useful implementation, relies on the Java
virtual machine to run.  It does not yet run on Dalvik, nor is it clear
that it ever will.  The project to port jython to Dalvik, but it died
and the authors said, just use Android scripting.  lame.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [semi OT]: Smartphones and Python?

2012-02-15 Thread 88888 Dihedral
在 2012年2月16日星期四UTC+8上午10时19分15秒,geremy condra写道:
> On Wed, Feb 15, 2012 at 12:58 PM, Martin Schöön  
> wrote:
> > First of all: I don't have any first hand experience of smartphones
> > but now that my trusted old GSM phone is getting old I decided I am
> > in for an up-grade. It struck me it might be nice to get something
> > for which I could write Python programs.
> >
> > A very quick internet search indicated that this should be no big
> > deal if I go for an Android-based phone. What about the alterna-
> > tives?
> >
> > It struck me this must be the best place to ask.
> >
> > What else? I don't know if it matters but my home PC OS is Linux.
> > And I am not much of a Python programmer but I enjoy learning it
> > and I have reached a level that has turned out to be useful at work.
> 
> Please note that while SL4A is a pretty good mobile python environment
> it doesn't support all of the Android API, which means it generally
> isn't an easy way to develop fully-fledged Android apps.
> 
> Geremy Condra
In the 4 G space of SW AP in Adndroid phones,
check Jython. But I think a better data compression 
modules  is more helpful. 

Patterns about arithmetic compressions and LZW are expired, but not  those in 
mp4 for the commercial use.

Thus, the time to install a complete OS on a tablet 
or mobile phone with LTE on the way.

We need smaller HD or flashes in these small devices.

 
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [semi OT]: Smartphones and Python?

2012-02-15 Thread geremy condra
On Wed, Feb 15, 2012 at 12:58 PM, Martin Schöön  wrote:
> First of all: I don't have any first hand experience of smartphones
> but now that my trusted old GSM phone is getting old I decided I am
> in for an up-grade. It struck me it might be nice to get something
> for which I could write Python programs.
>
> A very quick internet search indicated that this should be no big
> deal if I go for an Android-based phone. What about the alterna-
> tives?
>
> It struck me this must be the best place to ask.
>
> What else? I don't know if it matters but my home PC OS is Linux.
> And I am not much of a Python programmer but I enjoy learning it
> and I have reached a level that has turned out to be useful at work.

Please note that while SL4A is a pretty good mobile python environment
it doesn't support all of the Android API, which means it generally
isn't an easy way to develop fully-fledged Android apps.

Geremy Condra
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [semi OT]: Smartphones and Python?

2012-02-15 Thread Paul Rubin
Martin Schöön  writes:
> A very quick internet search indicated that this should be no big
> deal if I go for an Android-based phone. What about the alternatives?

It works pretty well with Maemo, though phones with that are not so easy
to find.  My ex-officemate wrote some SL4A (Android) apps in Python and
said it was pretty easy to use, though some features were missing.  I
know that one missing feature was tkinter.


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: [semi OT]: Smartphones and Python?

2012-02-15 Thread MRAB

On 15/02/2012 20:58, Martin Schöön wrote:

First of all: I don't have any first hand experience of smartphones
but now that my trusted old GSM phone is getting old I decided I am
in for an up-grade. It struck me it might be nice to get something
for which I could write Python programs.

A very quick internet search indicated that this should be no big
deal if I go for an Android-based phone. What about the alterna-
tives?

It struck me this must be the best place to ask.

What else? I don't know if it matters but my home PC OS is Linux.
And I am not much of a Python programmer but I enjoy learning it
and I have reached a level that has turned out to be useful at work.


Python has been ported to iOS, if you're thinking of going the Apple
route:

http://ipython.hozbox.com
--
http://mail.python.org/mailman/listinfo/python-list


[semi OT]: Smartphones and Python?

2012-02-15 Thread Martin Schöön
First of all: I don't have any first hand experience of smartphones
but now that my trusted old GSM phone is getting old I decided I am
in for an up-grade. It struck me it might be nice to get something
for which I could write Python programs.

A very quick internet search indicated that this should be no big
deal if I go for an Android-based phone. What about the alterna-
tives?

It struck me this must be the best place to ask.

What else? I don't know if it matters but my home PC OS is Linux.
And I am not much of a Python programmer but I enjoy learning it
and I have reached a level that has turned out to be useful at work.

/Martin
-- 
http://mail.python.org/mailman/listinfo/python-list