I'm working in an app, and I need which the app can generate a PDF file with the app data saved in XML's.
I need make this in one of two ways, but I don't know how, the ways are:
Generate a PDF from a existing HTML
Edit an existing PDF and add text.
I don't know how iText or droidText can help me.
Any suggestion?
How about having a look at this StackOverflow post?
Android - how to convert html to pdf?
I'm guessing your question requires a similar, if not exactly identical approach.
(By the way, performing a Google search on "generate PDF from HTML android" yielded 305,000,000 other results, many of which seem legitimate answers on your question...)
Related
I just want to view them not work on them so I don't mind an ipynb to PDF or HTML converter on android
I usually just convert them from my laptop or upload them to colab before printing them as PDF but those options aren't available to me right now, any app suggestions methods are welcome.
There are ipynb viewers available on playstore, although I have not tried them.
I generally just change the extension to txt from ipynb, but this will give you a bunch of currently useless information also.
I am currently working on an android application that will allow people to read the constitution, issue is I have only managed to get my hands on a soft copy pdf document. Ideally, I wanted an API that would allow me to fetch the document by Topic, issue or paragraph, I thought of multiple ways of getting the job done
1. Is by putting the document on the server, when user opens the app it downloads the pdf and allows them to read it(Problem with this is I won't be able to mess with the content like bold some text etc).
2. Is copying the content of the pdf into the databse and just fetching the text with a query(issue with this is I wont be able to do pagination given I put the content in one field)
Here is the link to the Constitution I needed a way in which I can load the data from the database in a way that I will be able to paginate, load a single paragraph or topic at a time. Can anyone whose been in a similar situation help me figure out the best way possible.
You don't to convert it to text, you can integrate MuPdf in your application check this answer I've found integrating pdf reader
I have data in the pdf format(Not in english). I want to load the data to my app and app will be offline. What are the elements i shall be using in android to make the app which is like reading data chapterwise? As the data i have is huge,how to load it offline from pdf? What is the efficient way?
This is reference link for the app:
https://play.google.com/store/apps/details?id=com.winjit.hclite&hl=en
Getting the text of a pdf is a hard task in android. You can check this other similar questions to this topic which all have no straight forward answer: Link, Link, Link.
If you cant workaround this there are commercial libarys out there which you can find pretty easy with your search engine of choice (I don't want to promote them here).
I'm making an app in android.I'm able to write text and create a new PDFs and also can read existing PDFs.
But i'm not getting solution to edit the existing PDFs.
Editing the PDFs in my app is the target which i have to achieve.
I tried to convert it in String but its in encoded form.Have searched a lot But i don't want to use any paid libraries or jar.
Generally PDFs are not designed to be editable and do not contain structure information. You can use some tools like Acrobat to try to put structure back in but it is a huge task.
I have an android app where I will be capturing various information in different forms and storing into the SQL lite database for tracking/viewing purposes. I want to give the option of exporting the information into a RTF/PDF/Doc and give the option of sending it thru email.
I looked at various similar questions posted here earlier but didnt get a definitive answer. I saw the Android PDF Writer library http://sourceforge.net/projects/apwlibrary/ but this seems very basic. I considered iText but I think there would be issues with licensing if in future I want to sell this app..
Basically I want to define a template document with a structure that will be copied and content added to it based on what the user wants to export...
Any help is greatly appreciated...
I wanted some elegant solution where I can store a template in the assets folder and replace whatever I want to create the output document. Finally I went with html. I created a html template and put it into the assets folder. After that it was as simple as read assets, read db, do string.replaceall and write the output html and email it out.....
OpenOffice.org's Universal Network Objects (UNO) interface to programmatically generate MS-Word compatible documents (*.doc), as well as corresponding PDF documents.
its basically java so it should work on android too.