I have tried everything to try and view a secure pdf, that first requires you to login before you can navigate to the option and select the pdf to view.
The code below
Dim i As Intent
i.Initialize(i.ACTION_VIEW, "My pdf url comes here")
i.SetType("application/pdf")
i.WrapAsIntentChooser("Choose PDF Viewer")
StartActivity(i)
It was a file on a website that I was trying to access, eventually got the file to download after I passed the correct cookie to the site, to invoke the download.