android - Open a pdf file inside a webview. -


i have app i've button on webpage rendered inside webview.

now on click of button , pdf file gets downloaded , , same need opened inside same webview.

attach download listener web view , change url follows..

"http://docs.google.com/gview?embedded=true&url=http://www.abc.com/xxxxxyyyyyxz.pdf"

it's link used open pdf without downloading it...

i hope solves problem..


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -