On 3/16/12 4:57 PM, Christopher Swenson wrote:
Hi!
I have a little bit of Android and Sage experience, so I thought I would
give you a tip or two to get started.
I would imagine that the mentors of this project saw this as roughly
four phases:
1. Get up to speed on Android development. This mean download and
installing the SDK (see http://developer.android.com/sdk/index.html and
then http://developer.android.com/guide/index.html to help get you on
your way). I'd recommend spending a little bit getting used to the odd
way that Android does things, with the Activity and Intent class. But I
wouldn't worry too much about the details yet -- get to where you can
build a simple demo app in Eclipse.
2. Get a little comfortable with Sage's build. Download the Sage source
from http://www.sagemath.org and build it from scratch, which should
give you an idea of the packages that it is dependent on.
3. The hardest part, I would think, is going to be getting all of the
software Sage needs to be compiled and working in Android. This will
probably be done through the NDK:
http://developer.android.com/sdk/ndk/index.html -- I presume that the
only way will be to compile the packages using the NDK, which will wrap
them in a JNI class.
4. Then the UI work starts using, I presume the standard Java SDK for
Android, by creating Activities and Intents. This should hopefully be
straightforward Android programming.
I would be happy to provide occasional advice to supplement the other
people on the project, although my experience with the NDK is pretty
much non-existent.
(I don't mean to hijack Volker or Harald: please chime in if I was
incorrect or off the mark.)
Is the project to get Sage to run on an android device, or to extend,
for example, the current Android app that talks to a remote Sage server?
Thanks,
Jason
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org