Skip to content

Instantly share code, notes, and snippets.

@brettwold
brettwold / PdfPrint.java
Last active September 22, 2024 06:14
How to save a PDF from any Android WebView
package android.print;
import android.os.CancellationSignal;
import android.os.ParcelFileDescriptor;
import android.util.Log;
import java.io.File;
public class PdfPrint {