Android Question stack at opening pdf links

mc73

Well-Known Member
Licensed User
Longtime User
Hello, everyone, I've created a small utility to quickly login to a site, in order to get some pdf files. While completing login form, redirecting and so on, using a webView and webViewExtras worked, the final step (the one clicking at the pdf's link) is not working.
Now, I know that this is a limitation of the webView component, still, while trying to get the pdfs' using httpUtils2, it failed, and I'm quite sure this has to do with session parameter and some other stuff probably, which I know nothing about.
Then, I've tried to reconstruct the whole process using strictly httpUtils2. Since there are many redirections, I cannot easily find the complete route. My thought now is to inkect js into the original pages using httpUtils2. Can this be done?
Or, is there a workaround to open the pdf somehow?
 

mc73

Well-Known Member
Licensed User
Longtime User
Thank you Erel.

Unfortunately, I cannot upload the project here cause it contains some sensitive login information, so I've sent you source in case you can find what goes wrong with the cookie.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…