Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/plutext/ae-awt

Repackaged AWT sufficient to run repackaged xmlgraphics-commons on Android
https://github.com/plutext/ae-awt

Last synced: 3 months ago
JSON representation

Repackaged AWT sufficient to run repackaged xmlgraphics-commons on Android

Awesome Lists containing this project

README

        

The purpose of this project is to supply enough AWT in order to be able to use xmlgraphics-commons on Android (see https://github.com/plutext/ae-xmlgraphics-commons). (For docx4j on Android to be able to load images, it needs xmlgraphics-commons).

The source code came from OpenJDK (licence is GPL2 + Classpath exception).

The following packages are re-packaged here (prepending 'ae' to the package name):
- com.sun.imageio
- java.awt
- javax.accessibility
- javax.imageio
- sun.awt
- sun.font
- sun.java2d

Android requires us to re-package javax.accessibility and javax.imageio

The others I have re-packaged as well, since their contents have been altered.

WARNING: this is not a full implementation of AWT; it is just sufficient for purpose. For example, the following are excluded from the build:



Generally, you can search for '//ae' to find places where I have commented things out.

To build:

ant dist