[EMAIL PROTECTED] wrote:
> I am currently working on an application that is essentially an
> equation "cheat sheet." I want to make the equations look good when
> they are displayed, so I am thinking of using MathML, but I don't know
> how I would implement this and include everything in a packaged
> application. Any advice on how to do this? Or other suggestions for
> displaying equations on Android?

Unfortunately, WebKit does not support MathML, otherwise I would 
recommend you use the WebView widget for this.

A quick scan doesn't show much promising that could readily be adapted 
to run directly on Android itself.

If you are looking to have the MathML be user-entered, the "simplest" 
solution may be a Web service the converts MathML into a PNG. I see a 
couple of MathML->SVG converters:

http://sourceforge.net/projects/pmml2svg/
http://www.grigoriev.ru/svgmath/

and you could use ImageMagick or something to convert the SVG into a PNG 
for on-device display.

If the equations are fixed -- meaning users cannot modify them -- you 
may as well just consider MathML to be an authoring language and deploy 
the equations as PNGs or something on the device.

Or, you could write a MathML renderer native for Android, using the 
MathML->SVG renderers as examples.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.4 Published!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to