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

forms - Secure PHP File Upload Script -

java - How do I override the spring framework version in Spring Batch? -

.net - Amazon EC2 API and Windows instances - any way to get drive letter assignment? -