This code works on ASUS MemoPad 10" (android 4.4.2)
Not works on Huawei MediaPad T3 10" (android 7.0)
(when I try to display the pdf, the app go crash end close)
B4X:
docu="privacy.pdf"
If File.Exists(Main.pdfdoc,docu)=False Then
Msgbox("File di consenso inesistenti. Configurare l'applicazione","Contattare il fornitore")
Activity.RemoveAllViews
Return
End If
pdfv.Initialize("PDFView",File.Combine(Main.pdfdoc,docu),1,True,True)
pdfv.AddToParent(Activity,0,0,100%x,100%y-70dip)