PDFBox sign pdf in android application - android

I'm currently working on an application that creates a pdf document with a signature of the user.
I managed to construct a new pdf document and fill it with data. My only problem is I don't know how to implement digital signature with pdfbox in an android application.
If you could refer me to sources or share some ideas about that I would appreaciate that!

Related

Open a PDF and add pages to it in an Android app?

I generate a PDF document from user input. This document is then displayed and "signed" by the user.
I need to grab this signature and append it to the document. I'm generating the PDF using Android API and displaying using an external library, but I need a way to re-open the document after signing and modifying it.
It's mandatory to generate the PDF before signing it, so the user can review it.
if the pdf file is saved to your storage after creating and updating it then try to read the file again otherwise you need to store the document first

How to open documents located in Local Storage in android using WebView?

I have a doc/ppt/xls file located in my sd card. I want to open it without any third party app (i.e within my app itself) using webview. Though I am able to open documents by embedding it in google docs url like -
http://docs.google.com/gview?embedded=true&url=[filelinkHere]
But how to open a file located in internal or external storage in webview ?
Also, Suggest me any third party ALL-IN-ONE library for android to view all types of documents. I have tried ASPOS but it has few unresolved bugs and APACHE-POI is difficult to use.
I had the same issue few days ago .
i found Android PdfViewer best to view PDF files and Android PdfMyXml best to create pdf files in android.
For working with Word and Excel as a most reliable answer I suggest you to take a look at OliveDocLibrary .
If your documents are in cloud so there is an alternative way to display docx,pptx,pdf and such formats with a combination of Webview and googleDoc.
You might find other possible solutions in server-side machines or maybe a creative way!
Hope it help
You can integrate some library project to your project with which you can open the pdf file inside your app.
Reference :
https://github.com/tekinarslan/AndroidPdfViewer
https://github.com/JoanZapata/android-pdfview

Need to develop PhoneGap app which will show a different PDF every week

I am developing a PhoneGap app which will show a PDF of a newsletter. I am linking to the externally hosted PDF from the app. The PDF will change every week. Obviously it is not practical to ask people to update the app every week, so I am looking for suggestions on how to go about this?
I had trouble getting PDF to display on android, but solved this by uploading the PDF to google drive and linking to the PDF on google drive. The fact that I need to use google drive eliminates the option of using a static link and uploading the latest PDF to the same destination (and with the same name obv) every week.
You can make a PHP or ASP service on server which will give a XML or json response.
There you can update the new PDF link.
Make an call to those php or ASP service from your app, get the new pdf link (e.g. you can use jquery ajax call for this)

Does android have a simple way to print a PDF document?

I know android has http://developer.android.com/training/printing/custom-docs.html and http://developer.android.com/reference/android/graphics/pdf/PdfDocument.html but I'm wondering if anyone has found an easier way to print a PDF document. My app has PDF documents readily available but no easy access to the page count. Android OS requests pages to be printed from your PDF document. Has anyone found a succinct way to just hand Android OS their PDF document for printing?

Creating PDF File on Android [duplicate]

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
How to create pdf files on android
I have a program that asks the user for information, then I need to put this information on a document/contract. I think I would like to create a pdf file with that information using itext (other alternate ways would also be appreciated). Although, I found that the itext version is not built (at least the free version) for android. My only solution is to create a server, send this information to a server that creates the pdf and then sends the pdf back to my phone. I have no idea how to do this. Or if anyone knows how to make an itext version for android.
Welcome to stackoverflow. Search your problem well before reaching out.
If you want to do this on the server you can create a simple PHP script that generates the PDF for you.
Just Google for PHP generate PDF and it will give you a lot of links.
If you want to do the pdf generation on the device you can leverage a java library that does it for you. try this stackoverflow link create pdf files on Android

Categories

Resources