Android Question Regarding the pdfjet library

maddy

Member
Licensed User




My Manifest -

AddManifestText(
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="26"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.


Here is the error which i am getting and sent manifest also
 
Upvote 0

maddy

Member
Licensed User
After I added file provider in my project also It is throwing same error.


Sub PDFjetPDF1_CloseComplete(Success As Boolean)
Log("PDFjetPDF1_CloseComplete Success="&Success)
If Success Then
Dim Intent1 As Intent
Intent1.Initialize(Intent1.ACTION_VIEW, "file://"&File.Combine(File.DirRootExternal, "pdfjet-test.pdf"))
Intent1.SetType("application/pdf")
Intent1.WrapAsIntentChooser("Open PDF document using:")
StartActivity(Intent1)
End If
End Sub



This is the code where it is giving error Can you please help regarding this?
 
Upvote 0

maddy

Member
Licensed User
After I added file provider in my project also It is throwing same error.
B4X:
Sub PDFjetPDF1_CloseComplete(Success As Boolean)
Log("PDFjetPDF1_CloseComplete Success="&Success)
If Success Then
Dim Intent1 As Intent
Intent1.Initialize(Intent1.ACTION_VIEW, "file://"&File.Combine(File.DirRootExternal, "pdfjet-test.pdf"))
Intent1.SetType("application/pdf")
Intent1.WrapAsIntentChooser("Open PDF document using:")
StartActivity(Intent1)
End If
End Sub



This is the code where it is giving error Can you please help regarding this?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…