Questions tagged [androidpdfviewer]

Android Pdf Viewer Library created by @barteksc available on GitHub.

Library for displaying PDF documents on Android, with animations, gestures, zoom and double tap support. It is based on PdfiumAndroid for decoding PDF files. Works on API 11 (Android 3.0) and higher. Licensed under Apache License 2.0.

82 questions
0
votes
1 answer

how to show pdf from Internal Storage Custom folder in xmarine android c# App?

I want to show pdf file after downloading (from Internal Storage Custom folder) in my app. I want users can choice their preferred apps to open it. I have used the below mention code but it is not working. How can I do this? string fileName =…
Soumen Halder
  • 117
  • 1
  • 13
0
votes
1 answer

How to load the online pdf files in Xamarin webview?

I have trying to load and display the online pdf file (file from sharepoint link) in Xamarin forms Webview. To load the pdf, i have implemented the pdf viewer using custom renderer. But, there files are not loaded. Can you please help me out on this…
0
votes
3 answers

I need to open a Pdf file when card view button clicked and each card has its own pdf against

Here is my Orderofday.java where i am getting data from URL and in String proceeding_file i get pdf link. i have shown the data present on every card but could not achieve to open a pdf link on card button clicked. public class Orderofday extends…
0
votes
0 answers

Viewing .PDF file in Android App - any Phonegap plugin(s) available?

I'm developing phonegap application for android devices. I want view the pdf inside my app without having sharing or email options. Just want user to view the pdf. I know the inappbrowser will not work for android. Is any other in-build plugin…
0
votes
2 answers

How to save users' last read Page Number

I am building an android app which displaying a specific pdf through https://github.com/barteksc/AndroidPdfViewer with lots of pages, and now i was just implementing a method to re-open the pdf from the last opened page of the user. I am using…
PARVEEN
  • 3
  • 3
0
votes
1 answer

Downloading a pdf file from url works on the main thread but is giving errors when I use asynctask

I'm writing a program to download a pdf file from a url to byte format and then display it on PdfViewer in android. However it takes some time to download and I would like to do this on a separate thread using asynctask. The code works well without…
0
votes
0 answers

DownloadManager pdf on Oreo

I have a problem with download and visualize PDF on android oreo. The code, download the pdf (in notification show the loader). Whe the download is complete the boradcast open the chooser, but when I select Adobe Reader or anothe , it say me:"It…
Pab
  • 3
  • 9
0
votes
1 answer

How to create pdf file from server response?

I am working in an application in which I need to create pdf file from response which I am getting from server. Is there any way to create pdf using this response? The response looks like this: %PDF-1.4 %���� 2 0 obj …
Anshul Khare
  • 391
  • 1
  • 4
  • 13
0
votes
1 answer

android print from pdfview

I have an app is working with PDFView. Today I added buttons for print by send data to printer directly. Do you have any solution, how to print data from PDFView just click on button. Note: Below image have 2 buttons but my purpose need only one…
Khoem Vichet
  • 331
  • 3
  • 12
0
votes
1 answer

How to open word document file in android?

I have a word document(.doc or .docx) in the server. I need to open in my android application by clicking one button .doc file have to open. How to do this? anyone, please help me. I tried this code : File file = new…
madhu
  • 35
  • 1
  • 9
0
votes
1 answer

Open PDF Nougat+ (File Directory)

I can't open PDFs on Ver. Nougat+, Error after codes below. Any other way or better way to open pdf, or how to change the path to external directory. Codes Below: Intent intent = new Intent(Intent.ACTION_VIEW); try { Uri…
KKT
  • 35
  • 4
0
votes
0 answers

View pdf in mobile browser without downloading

I have a pdf link. I want to view pdf in mobile browser. So I use many way like object, embeded, frame, but each time pdf will be downloaded in my mobile application. Without downloading I want to view pdf in mobile browser. I also search about…
0
votes
2 answers

Attempt to invoke virtual method crash in AndroidPdfViewer

Using the AndroidPdfViewer package. My build.gradle code: dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:26.1.0' implementation…
0
votes
1 answer

I am using AndroidPdfViewer, is there any way to handle chapter or content

I am using AndroidPdfViewer , is there any way to handle chapter or content.. like when clicked on content, it should open that only
anwar alam
  • 582
  • 5
  • 19
0
votes
1 answer

PDFView on landscape

I am trying to open local Pdf file from Assest folder in android studio platform using [barteksc] library. I downloaded the library and managed to open the pdf file. However, when I orient the emulator to landscape mode the pdf width will not fit…
Hayder
  • 31
  • 7