Open & Edit PDF files in Android App with APIs [closed] - android

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Okay, this is the first time I'm handling pdf in android.
What I have:
Editable PDF File with 2 pages (Forms to be exact, with brackets to tick, fields to comment etc.)
What I need to do:
Store the PDF some where is the sd card (so that users do not need to download from any server)
Allow users to open & edit the form
Save the contents that was edited into SQLite
Problem now is that I do not know how to open the PDF file within my application & how to allow users to edit the files. I did see through this : Reading PDF from within an Android application
However, I do not know how to allow users to edit the PDF File. Would anyone please guide me? Thanks so much!

It is open source and built for unix/debian Linux so it will require some toying with, but it is a start.
http://pdfedit.cz/en/index.html

you can use SDKs like Foxit here..
and another way is libraries like Qoppa pdf or MuPdf are free

Related

Android development: How can i store pdf file in a android app as local file and read that pdf file? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I want to make a android mobile app which have a list view as a book list and when i tap on a list view cell it's open that book as a pdf. I need to store all pdf file in my app as local file, as a result user don't need any internet connection for read that books. How it is possible? I am new in android development. Please help me for how can i do it.
Thanks.
Create directory named assets in your app and put your pdf files in that directory. use this to read and display pdf files.

How to open a pdf file [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'm creating a hybrid app in android which need to open the pdf files manually stored locally.
How to make android open that file without net, it should be opem within the app without using any other software?
thank you
Android does not provide a built-in PDF reader like iOS does, so you are limited in your options:
Here are some suggestions:
View the file using Google Docs by storing the file at a remote server and redirecting the user like so: window.open(encodeURI('https://docs.google.com/gview?embedded=true&url=http://www.your-server.com/files/your_file.pdf'), '_blank', 'location=yes,EnableViewPortScale=yes');
Or use a Cordova plug-in. For example this one (you can search in Google for more). For this, you'll need to learn how to create Cordova plug-ins in Worklight.
You can read more options here: Phonegap InAppBrowser display pdf 2.7.0

Force to use specific pdf viewer in android [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I want user to use my pdf viewer instead of using OS suggested list of viwer(s). Is there is any chance i can achieve this functionality.
I have secure folder where there are pdf files. What ia m looking for is when user opens that folder at that time only my pdf viewer should be used.
Thanks to the FSM you can't. There is no reason for you to take this freedom from end user.
If you need such a requirement, create a viewer application from scratch and asociate it to your own, newly created file extension.

Download and update text files [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Ok, Maybe the question is too general but I really need help...
The problem is that my app will contain thousands of textpages and I just can`t make it hardcoded.
So I decided to make it a hybrid app. I want to download HTML files from the server to the device and make my app automatically read these files also with an option to update them later.
Here is how it`ll work:
http://img836.imageshack.us/img836/9923/jsct.png
What is the simplest way to do this?
Thank you :)
I agree with the above comments that the question is to broad and that you should start and ask when you hit specific problems, but here a few hints.
You need to download the file from url.
Open it in editor, edit it, save it...
Upload them back to the server.
If you divide your app into sections you will get specific problems you can focus on.
So just with the above you can search for options and try to:
Download a file from internet( HTTP GET with DefaultHttpClient for example...google it ;) )
Save that file
Open it in default text reader, which will handle editing and saving.
saving the file paths in your app through SharedPreferences ( another google question ;) )
Uploading the file
and so on....
I know its hard if you dont have experience but start with the little things first, maybe just opening a file, just downloading a random file, and soon you will be able to put the pieces together like a puzzle.... good luck!

Is it possible to convert pdf to text? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
In my application I am downloading pdf file from the net. Is it possible in Android to convert that pdf file into text (String or character)?
Actually, it is possible to convert PDF to text. A better term than convert would be extract though.
You only need an OCR tool if the PDF has images only. This is typically the case if the PDF is a result of scanning documents. But even then, text is often inserted by the scan driver as invisible text so that the PDF content can be searched.
Bruno Lowagie (Developer of iText) says unfortunately no.
That's very normal. It's 'in the nature' of PDF.
PDF is a one-way process. The PDF is the end product.
You are not supposed to convert it to text.
You need an OCR tool.
http://itext-general.2136553.n4.nabble.com/Convert-PDF-to-text-td2142916.html
Regards Stefan

Categories

Resources