Android Question Pdfview

dibesw

Active Member
Licensed User
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)
AddManifestText(
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="26"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)

is the a new versione of pdfView? I have v 0.85

I have VB4A v 6.31

Thanks
 

DonManfred

Expert
Licensed User
Upvote 0
Top