Android Question Parameters for Opening PDF Files

cubetennis

Member
Licensed User
Longtime User
Hi Erel,

How can I set the parameters for opening a PDF file ?

I found some examples like that:
http://example.org/doc.pdf#page=3
http://example.org/doc.pdf#zoom=50

But nothing is happening with this code
Dim Intent1 As Intent
Intent1.Initialize(Intent1.ACTION_VIEW, "file://" & File.Combine(File.DirRootExternal & "/TestPDF/", "test2.pdf") & "#zoom=10")
Intent1.SetComponent("android/com.android.internal.app.ResolverActivity")
Intent1.SetType("application/pdf")

Thank you for helps
 

cubetennis

Member
Licensed User
Longtime User
Thank you for your reply NJDude

Sorry for the inexact question. I mean:

How can I set the parameters for opening a LOCAL PDF file ?

In this Code line :
Intent1.Initialize(Intent1.ACTION_VIEW, "file://" & File.Combine(File.DirRootExternal & "/TestPDF/", "test2.pdf") & "#zoom=10")
I would like to set the zoom factor to 10 with the syntax "#zoom=10" for opening a local PDF file.
But it didn't work.

What is the true syntax for setting such parameter ?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…