当前位置: 动力学知识库 > 问答 > 编程问答 >

using java.awt classes in android

问题描述:

i'm currently trying to use the library LLaTeXMath in an android app. The problem is, many functions want Arguments or have return values from the java.awt Package. So far, I've encountered Color, Insets, Image.

For example the Method TeXFormula.createBufferedImage() requires 2 Colorinstances and returns an Image. How can i provide the arguments and use the return value?

网友答案:

It's not possible. The only class from awt you can use in android is java.awt.font

网友答案:

ok forget it, i found out, there is an android version of jlatexmath. I just have to figure out, how to use it, since it doesn't come as a jar file and is not a gradle project, but that doesn't belong here

分享给朋友:
您可能感兴趣的文章:
随机阅读: