Giter Club home page Giter Club logo

android-awt's Introduction

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:

  • Apache PdfBox (open source), although it's a bit difficult to use
  • iText 7 (commercial), it's expensive because it offers pay-per-device licensing model, the more users, the more pricier
  • PSPDFKit, Foxit and other commercial libraries with Android in mind. They are expensive as iText and not so fully featured (some of them just converts html to pdf)
  • UniDoc UniPDF Go library (commercial) + gomobile. I use this in production, it's the cheapest, it is full featured like iText, it offers single license per unlimited devices and technical support is great.
  • (free solution) You can also generate html then convert it to pdf via webview. See this.

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

android-awt's People

Contributors

andob avatar andob001 avatar witwall avatar pascalleclercq avatar raphaelm avatar rubypdf avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.