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
0 answers

Display Annotations in Loaded PDF using Pdfbox and AndroidPdfViewer

I have loaded my pdf using barteksc pdfviewer. I want to add the search and highlight results functionality into my pdf. When the user clicks in the search icon, the code will start to search for the query in each page and add Highlight Annotations…
0
votes
0 answers

How to set max zoom in AndroidPdfViewer library, but not for double-click?

I'm using library for Android apps, that allows you to view pdf files (com.github.barteksc:android-pdf-viewer:2.8.2), however I've run into a problem. I needed to increase the maxZoom value. And I did it (up to the 20x). The zoom really zooms in…
0
votes
1 answer

how to access pdf file table of content using android pdfviewer in android studio

I just want to access table of content/Catalogue/Index Page from the pdf file using android pdfviewer by using barteksc. When I successfully load the pdf file from assets, its shows table of content of the file in debugger mode at console. I was…
Shani74
  • 43
  • 8
0
votes
1 answer

Attempt to invoke virtual method 'boolean android.os.HandlerThread.isAlive()' on a null object reference

I'm working on a document sharing app & when I use 'search' functionality, the app crashes I think there's some issue in PDFViewer(https://i.stack.imgur.com/qVaEF.png) PDFViewer works on dashboard but crashes when I search for an item (a document)…
0
votes
0 answers

How to view and read Pdf File in Android App without downloading it

I am making a app where a user should be able to click on a pdf file that is stored on firebase and the file should open without saving it to the device and user should be able to read it now currently when I click on the pdf it gets downloaded to…
0
votes
0 answers

Android. How to correctly open page with PdfRenderer?

I'm trying to implement PdfViewer with Pdf Renderer Api and Jetpack Compose. Here is my code: @Composable fun PdfViewer(uri: Uri) { val context = LocalContext.current val rendererScope = rememberCoroutineScope() val mutex = remember {…
0
votes
0 answers

How can I upload my own pdf to display in Android app?

I am currently using 2.8.2 version of AndroidPdfViewer were it only displays pdf from internet links (with .pdf extension url) , I want to display my own pdf how can I do so, currently using Android Studio, language Kotlin I was following this…
0
votes
0 answers

Render PDF direct from url android

What is the easiest way I can use to open a PDF file from a url or a library that can render the PDF directly from the url instead of using webview.? Currently using google drive embedded pdf viewer. I am looking for the best options without…
EmLeons
  • 11
  • 4
0
votes
0 answers

How to bookmark and retrieve bookmarks in android java

Well I am using pdf viewer by bartsek but when I try to retrieve bookmarks using the bookmark function it gives me wierd characters Here is the code pdfview.getTableofContents.toString() Wierd characters How can I achieve this I want a list of…
0
votes
0 answers

How to create android app Which retrieve multiple pdf files from firebase in recycler view

Files in my Firebase realtime database Recycler view interface I want to retrive my firebase pdf files in realtime on my application, any one can help me?
0
votes
1 answer

How to check if no PDF is displayed in an implementation of 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1' Java library

I am using this PDF Library in my application at the latest version. I have a PDFView object declared in this way: PDFView pdfView = (PDFView) findViewById(R.id.pdfView); And I would like to check whether if it is currently displaying/containing a…
AlessandroF
  • 542
  • 5
  • 16
0
votes
0 answers

How do I set PdfView to take all the entire screen Flutter

I have a problem I want my PdfView to fit 100% of the screen Currently I'm using flutter_pdfview 1.2.2 I have tried to wrap the PDFView() with Container and give it MediaQuery.of(context).size.height & width but isn't working My Code : @override …
0
votes
0 answers

PDFViewer not displaying PDF fromStream

My goal I want to retrieve the PDF file from my firebase database to display it inside my application. Info Library I used for PDF viewer:https://github.com/barteksc/AndroidPdfViewer Language I am using: Kotlin Reference I used to do my code How to…
Chin
  • 97
  • 2
  • 9
0
votes
3 answers

JCenter stopped

As of now, JCenter is stopped and I noticed that a lot of libraries haven't been migrated to maven. For instance: If we consider this library: implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1' i changed it to implementation…
srisindhu saride
  • 391
  • 6
  • 25