Showing website through webviewer: if any link on the webpage contains .pdf- open link outside app

Hi All,

Can anybody guide me about idea/ logic for below issue?

With the help of webviewer I am showing one website. Some of the pages contain links to pdf files. How & where can use logic that if the link contains .pdf then open it outside the app through activity starter.

1 Like

Where are hosted this pdf files. If in google drive, it opens directly in Drive Preview.
The bad thing is that when you download the archive, it has the same name that google drive share link and not in the .pdf format.

tiying to solve it

Mixer of server and drive. But some urls do not contain .PDF in url. So it is difficult to find out which url is PDF url.

1 Like