S selvamurali Active Member Licensed User Longtime User Aug 3, 2012 #1 hi i have tried to open a online pdf file using web view but it didnt display that file here is my code .help me wb.Initialize("wb") Activity.AddView(wb,0,0,100%x,100%y) wb.LoadUrl("http://grammar-teacher.com/englishgrammarsecrets.pdf")
hi i have tried to open a online pdf file using web view but it didnt display that file here is my code .help me wb.Initialize("wb") Activity.AddView(wb,0,0,100%x,100%y) wb.LoadUrl("http://grammar-teacher.com/englishgrammarsecrets.pdf")
Erel B4X founder Staff member Licensed User Longtime User Aug 3, 2012 #2 The browser doesn't support pdf files (at least not without installation of a third party app). Upvote 0
E elitistnot Member Licensed User Longtime User Aug 3, 2012 #3 Just jumping into the conversation here... Hello, I'm just jumping into the conversation here because I would also like to know how to do this. I'm fairly new to B4A and wanted to add my two cents; Would it be possible using the phone library to send the PDF to the Android OS to handle using; phoneintents.openbrowser("http://www.somedomain.com/some.pdf") ??? Thanks. Upvote 0
Just jumping into the conversation here... Hello, I'm just jumping into the conversation here because I would also like to know how to do this. I'm fairly new to B4A and wanted to add my two cents; Would it be possible using the phone library to send the PDF to the Android OS to handle using; phoneintents.openbrowser("http://www.somedomain.com/some.pdf") ??? Thanks.
Erel B4X founder Staff member Licensed User Longtime User Aug 4, 2012 #4 Android doesn't have a standard pdf reader. If there is a pdf reader installed then you can send an intent as described here: http://www.b4x.com/forum/basic4andr...640-best-way-display-pdf-file.html#post101055 Upvote 0
Android doesn't have a standard pdf reader. If there is a pdf reader installed then you can send an intent as described here: http://www.b4x.com/forum/basic4andr...640-best-way-display-pdf-file.html#post101055