W walt61 Well-Known Member Licensed User Longtime User Apr 15, 2025 #2 https://www.b4x.com/android/forum/t...-app-based-on-donmanfreds-pdfium-wrap.155094/ Upvote 0
aeric Expert Licensed User Longtime User Apr 15, 2025 #3 [B4X] Open PDF Sub OpenPDF(dirFile As String, nameFile As String) Try #If B4A ' Platform: Android Dim provider As FileProvider provider.Initialize ' Copy the file to the shared directory Wait For (File.CopyAsync(dirFile, nameFile... www.b4x.com Upvote 0
[B4X] Open PDF Sub OpenPDF(dirFile As String, nameFile As String) Try #If B4A ' Platform: Android Dim provider As FileProvider provider.Initialize ' Copy the file to the shared directory Wait For (File.CopyAsync(dirFile, nameFile... www.b4x.com
Q QuantumSprinter New Member May 25, 2025 #4 You can open a PDF in B4A by using FileProvider with an intent. This works well on newer Android versions (7+), which block direct file URIs. Upvote 0
You can open a PDF in B4A by using FileProvider with an intent. This works well on newer Android versions (7+), which block direct file URIs.