Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

How to load resources coming from the webview in android?

Opening PDFs coming from another web link. PDFs are supposed to be downloaded from the link and then an external app is used to open to PDF. This applies for all the resources. .xlsx .pdf .jpeg
Anglesvar's user avatar
  • 1,154
0 votes
1 answer
59 views

Share webView as PDF on Android

Do you know how to share webView as PDF?  I'm using io.github.kevinnzou:compose-webview-multiplatform for displaying webview and PrintManager for generating PDF. PrintManager is working very well: ...
Piotr Bartkowiak's user avatar
1 vote
0 answers
109 views

PDF Print class generates corrupted PDF from WebView on some devices

My Android application receives a Base64 string from server and load that base64 into the WebView. I am trying to convert that WebView content to a PDF file, save PDF file to the phone and start an ...
Tolgahan Tutar's user avatar
0 votes
1 answer
185 views

How to Allow Print button in Android Web-view Using Java?

How to Print a page in Web-view in Android Studio Using Java? <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv=&...
iDibya.com's user avatar
0 votes
0 answers
51 views

how to open a pdf link in Web view and print this document to a printer without saving to device

Link -https://www.adobe.com/support/products/enterprise/knowledgecenter/media/c4611_sample_explain.pdf I want to open a pdf link in webview and want to print that document to a printer without saving ...
XamarinInfo's user avatar
1 vote
0 answers
222 views

How to detect end of page in WebView with Google doc viewer to show PDF?

I'm working on a feature where I need to enable/allow a consent checkbox with a button when a user reaches the end of the WebView page(by scrolling), unfortunately currently not getting any scroll ...
Ajay J G's user avatar
  • 926
0 votes
1 answer
496 views

Convert Webview to PDF in android

I am using this library to convert webview to PDF. https://github.com/pramodkr123/ConvertWebViewToPdfDemo and using this function. Write permissions are already granted. Still code falls in failure ...
dennisrufigill's user avatar
0 votes
1 answer
397 views

PdfView.createWebPrintJob: exported PDF is not displaying correct font style (Android 12)

I'm using PdfView.createWebPrintJob to convert Webview into PDF. So far I can successfully convert except that font style is not loading properly when viewing the PDF. I'm using google font Noto-Serif,...
Angelhia de Fiesta's user avatar
0 votes
0 answers
142 views

How to show excel, docs, pdf.. with passing cookies in webview Android

I'm trying to show excel file(online) in a webview with passing cookies, but only get a blank white page. It works fine for txt file, so maybe passing the cookie is not the problem. webView....
jam's user avatar
  • 1
0 votes
2 answers
196 views

Print Textviews and webview from fragment

I'm using such code for creating pdf from webview PrintManager printManager = (PrintManager) this .getSystemService(Context.PRINT_SERVICE); PrintDocumentAdapter printAdapter = webView....
Slava's user avatar
  • 767
0 votes
1 answer
1k views

Android Studio webView PDF is showing <IFRAME> and not pdf

i am trying to fetch PDF in PDF but in result i am getting ERROR <iframe width="100%" height="1000" src="https://ns3.creativerp.org/kbm/web/tcpdf/print/generated_form1.php?...
isikandar1's user avatar
0 votes
0 answers
716 views

Print Android WebView on "endless" PDF

TL;DR: How to calculate the acutal size of a WebView in Mils to set the PrintAdapter's MediaSize so that the WebView will be printed in a single page PDF. Long version: I want to create a Receipt-PDF ...
Thommy's user avatar
  • 5,437
0 votes
2 answers
988 views

Android webview not generating pdf report on button click

I have created a web app in Android studio using WebView. I have loaded a WordPress site in android WebView. The WordPress site exports a pdf report on a button click When i load it on chrome browser. ...
Ranjit Vamadevan's user avatar
0 votes
0 answers
232 views

Showing a PDF with its URL using Web View

I have a URL for my PDF and I want to show it in browser . I was using Intent but the PDF was download not Viewed , so I searched for this thing and I fount that , I can use this link before my PDF's ...
Ahmed Elsayed's user avatar
0 votes
1 answer
2k views

Android Uri building ignore parameters except if at least one parameter is present

I have a strange behaviour when I click on a link in a webview that is a PDF file link. For example: https://my.server.com/foobar.pdf So I have made some research and this link will start a dowload in ...
Romain Barbier's user avatar

15 30 50 per page
1
2 3 4 5
12