Sympy for Android

151 views
Skip to first unread message

Vipul Amler

unread,
Mar 18, 2012, 2:06:39 PM3/18/12
to sy...@googlegroups.com
Hi,
I had previously asked about it but dint get a reply, on the thread.
I was interested on working on Sympy for Android, anyone who I can
discuss this with?

Vipul A.M.
+91-8149-204995

Aaron Meurer

unread,
Mar 18, 2012, 10:09:48 PM3/18/12
to sy...@googlegroups.com
Take a look at http://groups.google.com/group/sympy/browse_thread/thread/a5f6efebcf502f13,
and also search the list for other threads.

Aaron Meurer

> --
> You received this message because you are subscribed to the Google Groups "sympy" group.
> To post to this group, send email to sy...@googlegroups.com.
> To unsubscribe from this group, send email to sympy+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
>

Vipul Amler

unread,
Mar 18, 2012, 10:43:44 PM3/18/12
to sy...@googlegroups.com
On 3/19/12, Aaron Meurer <asme...@gmail.com> wrote:
> Take a look at
> http://groups.google.com/group/sympy/browse_thread/thread/a5f6efebcf502f13,
> and also search the list for other threads.
>
I had posted a question on the thread but in vain. Perhaps i l submit
the full proposal here again,in case that thread doesnt go ahead.

> Aaron Meurer
>
> On Sun, Mar 18, 2012 at 12:06 PM, Vipul Amler <vipul...@gmail.com> wrote:
>> Hi,
>> I had previously asked about it but dint get a reply, on the thread.
>> I was interested on working on Sympy for Android, anyone who I can
>> discuss this with?
>>
>> Vipul A.M.
>> +91-8149-204995
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sympy" group.
>> To post to this group, send email to sy...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> sympy+un...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/sympy?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To post to this group, send email to sy...@googlegroups.com.
> To unsubscribe from this group, send email to
> sympy+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sympy?hl=en.
>
>


--
Vipul A.M.
+91-8149-204995

Roberto Colistete Jr.

unread,
Mar 19, 2012, 11:07:13 PM3/19/12
to sy...@googlegroups.com
Em 18-03-2012 15:06, Vipul Amler escreveu:
> Hi,
> I had previously asked about it but dint get a reply, on the thread.
> I was interested on working on Sympy for Android, anyone who I can
> discuss this with?

Hi,

I repeat here the answer to Vipul sent today directly to him.

I support a SymPy GUI for Android totally written in Python SL4A,
but maybe the majority will choose a native (Dalvik) version for Android
(and the problem will be the Java communicate with Python/SymPy).

I am a mentor candidate to help the development of a SymPy GUI for
Android using Python SL4A.

Python SL4A (Scripting Layer for Android) is not full feature, for
example, there is no canvas, no line, point graphics.

My suggestions to about my mentorship subject :
- discuss about the SymPy GUI for Android in SymPy group;
- learn Python SL4A :
* SL4A site, search for Python :
http://code.google.com/p/android-scripting/wiki/Tutorials
Python SL4A webview GUI :
http://code.google.com/p/android-scripting/wiki/UsingWebView
* book "Pro Android Python with SL4A", 1st one about Python for Android,
I am using it :
http://www.apress.com/9781430235699
- learn SymPy;
- try to make until beginning of April a simple example using Python
SL4A with webview UI to show your capacity, maybe also using SymPy.

Regards, Roberto

Vipul Amler

unread,
Mar 19, 2012, 11:10:32 PM3/19/12
to sy...@googlegroups.com

Thanks, will do and report back soon.

Vipul Amler

unread,
Mar 21, 2012, 6:37:45 AM3/21/12
to sy...@googlegroups.com

Hi Roberto,

I am working on an emulator. 2.2

I happen to have tried out sl4a for python, along with WebView. {The
example you listed and others, although dint check FullScreenUI}
Also sympy seems to work form within sl4a, properly {way slow on the avd}

So, I want to know what example you expect, or perhaps what I should be making?

Message has been deleted

Roberto Colistete Jr.

unread,
Mar 21, 2012, 9:49:25 AM3/21/12
to sy...@googlegroups.com
Em 21-03-2012 07:37, Vipul Amler escreveu:
> Hi Roberto,
>
> I am working on an emulator. 2.2
>
> I happen to have tried out sl4a for python, along with WebView. {The
> example you listed and others, although dint check FullScreenUI}
> Also sympy seems to work form within sl4a, properly {way slow on the avd}

Hi Vipul,

I don't like emulators, I develop directly (using Python) on
Android 2.2 (on Nokia N900 running NITDroid) and Android 3.2/4.0 (on
Asus Transformer). By the way, I develop directly on PDA, tablets and
smartphones since the Psion's days (1999 until today), from OPL to
Python, sometimes in C/C++ (on Maemo/MeeGo).

> So, I want to know what example you expect, or perhaps what I should be making?

My advice to you, sent 2 days ago, was : "try to make until

beginning of April a simple example using Python SL4A with webview UI to
show your capacity, maybe also using SymPy".

You can also mix Python SL4A webview UI with Facade UI, see my
Python webview template (with commented source-code) :
http://www.robertocolistete.net/Python/Android/

It is my first time trying to participate in GSoC (as a mentor), so
I think it would be better to also get the opinion from the SymPy community.

Regards,

Roberto

Aaron Meurer

unread,
Mar 22, 2012, 1:29:22 AM3/22/12
to sy...@googlegroups.com

I agree with this advice.

Aaron Meurer

Vipul Amler

unread,
Mar 30, 2012, 6:53:24 AM3/30/12
to sy...@googlegroups.com, Roberto Colistete Jr.
On Thu, Mar 22, 2012 at 10:59 AM, Aaron Meurer <asme...@gmail.com> wrote:
On Wed, Mar 21, 2012 at 7:49 AM, Roberto Colistete Jr.
<roberto....@gmail.com> wrote:
> Em 21-03-2012 07:37, Vipul Amler escreveu:
>

Hi, again

 
>> Hi Roberto,
>>
>> I am working on an emulator. 2.2
>>
>> I happen to have tried out sl4a for python, along with WebView. {The
>> example you listed and others, although dint check FullScreenUI}
>> Also sympy seems to work form within sl4a, properly {way slow on the avd}
>
>
>    Hi Vipul,
>
>    I don't like emulators, I develop directly (using Python) on Android 2.2
> (on Nokia N900 running NITDroid) and Android 3.2/4.0 (on Asus Transformer).
> By the way, I develop directly on PDA, tablets and smartphones since the
> Psion's days (1999 until today), from OPL to Python, sometimes in C/C++ (on
> Maemo/MeeGo).
>
>
>> So, I want to know what example you expect, or perhaps what I should be
>> making?
>
>
>    My advice to you, sent 2 days ago, was : "try to make until beginning of
> April a simple example using Python SL4A with webview UI to show your
> capacity, maybe also using SymPy".
>
>    You can also mix Python SL4A webview UI with Facade UI, see my Python
> webview template (with commented source-code) :
> http://www.robertocolistete.net/Python/Android/
>
>    It is my first time trying to participate in GSoC (as a mentor), so I
> think it would be better to also get the opinion from the SymPy community.
>


After my submissions{last week, which consumed my time}, and scanning past the sl4a tutorials, I have got a bit of idea 
about the whole sl4a environment. Although  there is not much literature, {apart from the book ofcourse}, 
I could find scarce code example for sl4a webview

One, amongst them was Roberto's itself  from  over at [1], and other was this [2]
I was able to package Roberto's script into [3]  a full fledged apk, that calls the python script..
I am having issues in the callbacks to the html page from python script, which I am trying to figure out. {this is in reference to Roberto's script}

Moreover, initial lookout of mine was to get comfortable with sl4a, which I guess I have become for now.

I l be producing 1-2 examples to demonstrate sl4a Webview usage, from below
* Simple TODO Notes Manager
* Simple Calculator
* etc

I was not able to think of more examples.
Will send in the above demo's in my next mail.


>        Regards,
>
>        Roberto

I agree with this advice.

Aaron Meurer


About the GSoC Proposal, how should I be looking at it now?
I mean what features are to be envisioned, etc. I need to focus on this too for now, as the deadline ends soon.

P.S. The script from [3] successfully loads the sympy module in android, and makes use of it.

Vipul Amler

unread,
Apr 2, 2012, 4:22:08 PM4/2/12
to sy...@googlegroups.com, Roberto Colistete Jr.
The deadline is nearing so I have put in a draft proposal over at https://github.com/sympy/sympy/wiki/GSoC-2012-Application-Vipul-A-M-:-Sympy-for-Android . Please let me know any feedback so that I can make changes accordingly.

Roberto Colistete Jr.

unread,
Apr 3, 2012, 10:32:45 PM4/3/12
to Vipul Amler, sy...@googlegroups.com
Em 30-03-2012 07:53, Vipul Amler escreveu:
> I was able to package Roberto's script into [3] a full fledged apk,
> that calls the python script..

Hi Vipul,

Your work is interesting as packaging iOS and Android softwares is
not simple at all. By the way, on Maemo 4 & 5 OS and MeeGo Harmattan a
.deb file can be created on device (Nokia N810, N900, N9) using Python
scripts, it is a matter of editing one simple .py file. All my Maemo 4 &
5 packages were created using my Nokia N900 running py2deb.

There is a new software for Android, AIDE
(https://play.google.com/store/apps/details?id=com.aide.ui) which has
editor, java compiler and .apk packager running directly on Android. So
there is hope that Python .apk can be packaged on device (I will try it).

> I am having issues in the callbacks to the html page from python
> script, which I am trying to figure out. {this is in reference to
> Roberto's script}

Could you better describe these issues so I can try to help you ?

Regards,

Roberto

Reply all
Reply to author
Forward
0 new messages