Using awt with android

后端 未结 2 1756

I have a Java Swing application which draws diagrams. It uses Graphics2D calls and awt objects such as Rectangle etc.

At some point I might want to port this to Andr

相关标签:
2条回答
  • 2020-11-28 13:51

    http://www.apogee.com/ has commercial products which will allow you to run Swing programs on Android. Note that I've never used this product so I can't comment on how good it is.

    0 讨论(0)
  • 2020-11-28 13:57

    The main problem is that you won't be able do create classes in packages named java.awt. But except that point, basically you can rewrite a library based on awt API.

    You can also check awt-android-compat project.

    0 讨论(0)
提交回复
热议问题