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
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.
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.