B4A Class PDFDocument API 19+

Discussion in 'Additional libraries, classes and official updates' started by stevel05, Jun 20, 2014.

  1. stevel05

    stevel05 Expert Licensed User

    From API level 19 (KitKat) Android introduced an android.graphics.pdf package that allows sending an image of views to a PDF file.

    This is a wrapper for that library written using JavaObject.

    The demo app follows (loosely) the documentation example. The project contains the 4 classes, you can compile it to a library if you wish.

    Depends On: Reflection JavaObject
     

    Attached Files:

    Last edited: Jun 21, 2014
  2. LucaMs

    LucaMs Expert Licensed User

    Thanks (AGAIN) Steve!!!

    I don't have kitkat, but I appreciate your work.

    Why did you write: "Allows sending the content of views"?
     
  3. stevel05

    stevel05 Expert Licensed User

    I changed it to images, as it uses a canvas object and doesn't send text.
     
    LucaMs likes this.
  4. LucaMs

    LucaMs Expert Licensed User

    Thanks
     
  5. westingenieria

    westingenieria Active Member Licensed User

    hi Steve, we can open pdf file and edit with this library and then save it again ?

    thansk in advanced!!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice