6

Possible Duplicate:
How to render mathematical equations in Android

I am working on an android app which need to render mathematical equation. Most of the maths on the web is stores in the form of images which is not possible in Android because of different screen sizes. WebView in android doesn't understand MathML. MathJax comes with 16MB of font (image) files which makes application heavy. jMaths comes with 80MB font (image) files. All the other answers on stackoverflow are just hints. Can someone give a real implementation example of rendering mathematical equation on Android phone?

Community
  • 1
  • 1
Gaurav Agarwal
  • 18,754
  • 29
  • 105
  • 166
  • Are you searching for a ready to use Android library or do you consider also using c libraries with the NDK? – Dyonisos Sep 08 '11 at 08:04
  • @Dyonisos if it is possible by android library well and good otherwise I am open to all other options – Gaurav Agarwal Sep 08 '11 at 08:18
  • I think the best approach would be to use the OpenGL ES 1.0 API in android. See: `http://developer.android.com/resources/tutorials/opengl/opengl-es10.html` for an example. Unfortunately I cannot provide a math related example. – Dyonisos Sep 08 '11 at 08:51
  • MathML has been implemented in Webkit https://trac.webkit.org/wiki/MathML & http://www.webkit.org/blog/1366/announcing%E2%80%A6mathml. Webview of android is based on Webkit. If we can figure out how to implement latest changes in WebKit to Android WebView. This should work. – Gaurav Agarwal Sep 08 '11 at 11:05
  • 5370542 is different, here we have very specific problem and it remains unresolved. – Gaurav Agarwal Sep 08 '11 at 12:26
  • I agree with Merlin - there's no information here that isn't a duplicate. – James Moore Sep 13 '11 at 17:04
  • Gaurav> What did you finally use? – Jasper Jul 07 '15 at 12:28
  • @Jasper You can strip down MathJax to reasonable size and use it. Project was scrapped therefore I did not use any. – Gaurav Agarwal Jul 07 '15 at 16:43
  • @Gaurav Thankyou. It's surprising that no one has solved this problem for native android apps yet!! – Jasper Jul 08 '15 at 04:13

0 Answers0