GitHub - andob/android-awt: Combination of code from Apache Harmony and Apache Commons Imaging to replace classes in java.awt for Android. (original) (raw)

android-awt

This is a fork of windwardadmin/android-awt

This project provides java.awt and javax.imagio since we can't use these classes on Android. Code is took from Apache Harmony, Apache Commons Imaging and witwall/appengine-awt.

Disclaimer: This library is HACKISH and experimental. You should NOT use this in production.

It started as a proof-of-concept to make OpenPDF work on Android. I never used it in production.

To generate PDF files locally on an Android Device, there are a lot of commercial and open source options:

Import

repositories {
    maven { url "https://andob.io/repository/open_source" }
}
dependencies {
    implementation 'ro.andob.androidawt:androidawt:1.0.4'
}

Proguard

-dontwarn org.bouncycastle.**
-dontwarn java.lang.invoke.**

Licensed under Apache License