Porting of SymPy to Android/iOS

366 views
Skip to first unread message

Abhinandan Ramprasath

unread,
Mar 18, 2012, 3:50:40 PM3/18/12
to sy...@googlegroups.com
Hi,

I have studied the structure of SymPy for the last few days.I realise that porting a Python code to android is an uphill task,but there have been attempts that have successfully executed python on android before(SL4A for example). I have some experience on programming android applications(developed 3 apps, 2 in market).I am also good with UI designing. I would like to discuss the possibility of such a task with a mentor if possible.


-Abhinandan

Aaron Meurer

unread,
Mar 18, 2012, 10:08:57 PM3/18/12
to sy...@googlegroups.com
Note that this doesn't necessarily require putting SymPy directly on
the device. We could just make it a nice frontend to SymPy Live.
Even if the eventual plan is to put it directly on the device, this
may be a good place to start to get the UI fleshed out without having
to worry about the technical details involved with running Python on a
phone.

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.

Abhinandan Ramprasath

unread,
Mar 19, 2012, 12:40:13 AM3/19/12
to sy...@googlegroups.com
Hi Aaron,

Thanks for the reply. We start by just creating an interface that asks the user for the input,check each line input with the python live server and give the corresponding output to the user. I thought it'll be better if the user is allowed to execute a batch of statements at a time.
For example,
He can have a text file that has all the commands and write the android application that will read the text line by line and give the final output alone to the user.

I'm sure that a lot of people are interested in doing the same project, are there any pointers that u can give me that will boost my chances?

-Abhinandan

Aaron Meurer

unread,
Mar 19, 2012, 5:48:20 PM3/19/12
to sy...@googlegroups.com
I wrote a blog post last year giving some generic advice for GSoC
students here: http://asmeurersympy.wordpress.com/2011/04/27/advice-for-future-prospective-gsoc-students/.

Aaron Meurer

On Sun, Mar 18, 2012 at 10:40 PM, Abhinandan Ramprasath

Roberto Colistete Jr.

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

Hi,

I repeat part of my email from 12/02/2012 :

- Android OS has a good Python (in Scripting Layer For Android - SL4A)
implementation, so it is indeed possible to create a SymPy GUI using
Python on Android. We currently have 3 options of GUI programming in
Python SL4A :

* UiFacade, but its restricted to dialog windows, not full screen :
http://code.google.com/p/android-scripting/wiki/ApiReference

* webview (Python + HTML/CSS + JavaScript), allowing full screen GUI :
http://code.google.com/p/android-scripting/wiki/UsingWebView
My Python webview template (with commented source-code) :
http://www.robertocolistete.net/Python/Android/
More complex software, SMSSender, using Python SL4A & webview :
http://android-scripting.blogspot.com/2010/11/sms-merger-reviewed-with.html

* FullScreenUI experimental, it needs sl4a_r5x (beta), but it is not
finished :
http://code.google.com/p/android-scripting/wiki/FullScreenUI

And SymPy works very easy with Python SL4A, so a SymPy UI for
Android can be written Python + HTML/CSS + JavaScript.

But is also possible to create a Dalvik software (for Android), but
the problem would be to implement the Java communication with Python/SymPy.

Regards, Roberto

Roberto Colistete Jr.

unread,
Mar 19, 2012, 11:22:24 PM3/19/12
to sy...@googlegroups.com
    Hi,

    I support SymPy running on Android. See the tablet in my SymPy for smartphones & tablets analysis : SymPy on Android is fast to load & run (not much slower than SymPy on desktop OS), it just lacks easy installing and interactive use.

    A SymPy UI packaged in .apk, ideally available in Android Market (now Play Store), has the potential to solve this issues.

        Regards, Roberto
Reply all
Reply to author
Forward
0 new messages