I want to edit an existing pdf/png image on android studio and having hard time.
I have a pdf/png file which I want to edit some areas in it, save it and share it as a png/pdf.
I've searched for different libraries for pdf but most of them have an expensive license which I can't afford.
Is there any other way to edit and share the file?
Related
I have an app for android and iOS. I want to add in app option, which allow user select book from list and read it.
List of available books will be load from server.
Now i wondering which book format to choose. First i'm thinking about pdf, but it has not-flexible reflowing for different screens(books contains sheets and formules). Maybe .epub would be good choice?
ps. is this possible to prevent user copy loaded book files?
Should i load files only in memory(without saving on sd), but how then work with files exceeded ram memory?
have you know any good iOS and android libraries, sdk for reading ebook files?
I am searching for the same SDK options and found this for ePub:
http://skyepub.net/downloads/
There are handfuls of PDF SDKs. Throw a dart at the internet and see what it hits, however, I would like to know which ones have risen to the top (e.g., the top 3).
Still looking for .mobi (Kindle's format).
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'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...)
I am developing an Android application and got a SQLite database in it, which has quite a lot of rows and columns. Showing those inside the application is no problem, but I want to export the information of the database as a PDF file to upload it to Dropbox or the SD card.
I found a way to create a PDF file within the application from a bitmap file, but that doesn't help me much. The information of the database can only be seen in the application by scrolling around, as it is to big for the screen. Is there a solution for this problem?
Exporting a screenshot as PDF won't help me much as not the whole database can be seen within one screen.
I'd look for some reporting solution for example http://jasperforge.org/projects/jasperreports possibly on the server side.
You can also try iText which is very low level.
Generate the bitmap in your software from or in parallel with the generation of what the users sees, write it out as a file, and give it to the pdf generator.
I am using iText library to create PDF documents.
I am able to create and add contents to the document programmetically like "new Paragraph("This is new pdf")".
My question are
Can I add the
contents by typing something in the
document and save it as PDF using
iText library? As like we are
creating word documents...?
Suppose if I want to insert an image in my
document, it will be done by picking
an image from my External storage
using a dialog box...?
Is it possible using iText library in
andriod...?
These are multiple questions. I'll try answering them all. However it seems one answer to all your questions is, first try, study, learn what iText is about, then ask questions
but my question is can i able to add
the contents by typing something in
the document and save it as PDF using
iText library? like we are creating
word documents...?
No, you have to do it programmatic. iText is not a WYSIWYG tool like Adobe Acrobat or other GUI-PDF Editors.
suppose if i want to insert a image in my document, it will be done by picking an image from my External storage using a dialog box...
If you create the dialog box and the code logic to add it to a PDF in the iText way it is possible.
is it possible using iText library in
android...?
The general available iText is not fit for Android. You can contact iText Sales department to know more about iText Android.