How to Display PDF Files on Mobile Devices
Posted by Appeon Support on 03 March 2015 01:38 PM

Method 1: Upload the PDF files to the web server and then display them with the following code:

inet l_inet

l_inet = create inet

l_inet. HyperLinkToURL("")


Method 2: Use the Webview objects provided in the Appeon 2015 to display the PDF files locally. Below is the related help documentation and code for your reference:

int  li_ret

string ls_filepath


ls_filepath = appeongetcachedir()+"/plugin/test.pdf"

li_ret = uo_webview.of_loadlocalfile (ls_filepath)

if li_ret > -1 then

 messagebox("note:", "success of_loadlocalfile:FilePath:" +ls_filepath + ", return value:" +  string(li_ret))


messagebox("note:", "failed of_loadlocalfile:FilePath:" +ls_filepath + ", return value:" +  string(li_ret))

end if

(0 votes)
This article was helpful
This article was not helpful

Comments (0)
Post a new comment 

Please login if you wish to leave a comment about this article.

Help Desk Software by Kayako Fusion

Copyright © 2019 Appeon.  All rights reserved.  Terms of Use | Privacy Statement