How to open a pdf file [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 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

Related

Building an app from a wordpress site [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 want to create an android app from my existing wordpress site.
I have a news site running on wordpress whose theme was built my me. I would like to create an app for the same site. Basically it just has to list posts available on the site.
I am aware of some plugins which would do it automatically but I would like to know if it can be done using phonegap.
I need some help (pointers) as to how I can pull posts from my wordpress site and reflect it on the app.
This is a good and complete tutorial for build this app using ionic framework:
Link video
There are options, like AppPresser, they convert your WordPress website into a mobile app, publish on the app stores for a fee.

How to create android apps using Html and maintain those html pages using a management system? [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 8 years ago.
Improve this question
I want to know whether is it possible that if i create an android app using html, then later if i want to update the pages of that app i can do it from an online resource and not give an apk update notification to the user.
Is something like that even possible?? Something BookMyShow app where we never get an update and the pages are updated automatically.
Please Help! Thanks in Advance!
For your requirement webview may be useful... create and host your web pages on the server and in webview use url of your website... and make sure that your website design is responsive... by using this u can make changes to pages without new updates to apk

Writing App to access text file on PC remotely possible? [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
I am hopefully going to be embarking on producing a ios or android app that shows the x read of a till from a remote location over an internet connection. My question is wether it is possible to access a text file or xcel file, take the contents of the file and pull it to the app using android and ios? I have a way to get the x read to either a xls or txt file but need to know if I will be able to access it using a ios or android app?
Apologies for the basic explanation but I am quite new to this.
Yes, it's possible.
You will have to write a server program that runs on the PC, and communicate via network sockets.

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.

Open & Edit PDF files in Android App with APIs [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 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

Categories

Resources