I have an PdfViewer application.I would like to open Pdf File When I LongClick to pdfviewer.Please advise how to do that...
B4X:
Dim pdfv As PDFViewer
If pdfv.IsInitialized Then pdfv.RemoveView
pdfv.init
pdfv.getpdf(PicMap.GetValueAt(i)&PicMap.GetKeyAt(i))
If pdfv.isValid Then
'Msgbox("Loading pdf file!","Loading")
pdfv.scrollToPage(0)
pc=pdfv.GetPageCount
pdfv.zoom(4.0)
Else
Msgbox("Error pdf file!","Error")
'Activity.Finish
Return
End If