Re: [android-developers] How I can load doc/xlsx/pdf files into WebView?
I used this approach and it was working perfectly, but recently after upgrading Adroid to Lollipop I can't get display pdf via this in webview anymore. I'm getting crazy. Nothing has been changed in application, all all my devices it works except lollipop's ones. Any idea what changed and how to fix it? I tried https://drive.google.com/viewerng/viewer?embedded=true= http://docs.google.com/gview?embedded=true= https://docs.google.com/gview?embedded=true= Dňa štvrtok, 14. marca 2013 11:43:07 UTC+1 Vinay Kumar napísal(-a): > > Append your pdf/xml/doc url to " > http://docs.google.com/gview?embedded=true=+" and > then try to load in webview. Hope this helps you. > > On Thu, Mar 14, 2013 at 3:34 PM, Archana> wrote: > >> >> How I can load doc/xlsx/pdf files into WebView? >> I am getting data as base64 format. Please suggest me how to display >> this? >> >> >> -- >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-d...@googlegroups.com >> >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Android Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to android-developers+unsubscr...@googlegroups.com . >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/810738dd-03fe-4168-81f5-6d0120fd0382%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-developers] How I can load doc/xlsx/pdf files into WebView?
Hi, thanks for the response. Please don't assume as its not me. Even I also notice the same question posted by someone. I saved my file into sdcard and would like to know if I can use that path to display it in web view. I achieved the same by using below code for PDF and would like to know if something same can be done for doc,xlsx ... Etc WebView webview = (WebView) findViewById(R.id.webview); webview.getSettings().setJavaScriptEnabled(true); webview.setContentDescription(application/pdf); webview.loadUrl(path); Thanks Archana On Thursday, March 14, 2013, Piren wrote: see the reply you got on stackoverflow, since it already told you exactly what you can do (i'm assuming it's you since the wording is the same) http://stackoverflow.com/questions/15279577/docx-pdf-etc-and-webview On Thursday, March 14, 2013 12:04:42 PM UTC+2, Archana wrote: How I can load doc/xlsx/pdf files into WebView? I am getting data as base64 format. Please suggest me how to display this? -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.comjavascript:_e({}, 'cvml', 'android-developers@googlegroups.com'); To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript:_e({}, 'cvml', 'android-developers%2bunsubscr...@googlegroups.com'); For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.comjavascript:_e({}, 'cvml', 'android-developers%2bunsubscr...@googlegroups.com');. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] How I can load doc/xlsx/pdf files into WebView?
How I can load doc/xlsx/pdf files into WebView? I am getting data as base64 format. Please suggest me how to display this? -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] How I can load doc/xlsx/pdf files into WebView?
Append your pdf/xml/doc url to http://docs.google.com/gview?embedded=trueurl=+your file link and then try to load in webview. Hope this helps you. On Thu, Mar 14, 2013 at 3:34 PM, Archana archana.14n...@gmail.com wrote: How I can load doc/xlsx/pdf files into WebView? I am getting data as base64 format. Please suggest me how to display this? -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] How I can load doc/xlsx/pdf files into WebView?
Hello Vinay, Thanks for your reply, But I am getting file as base64 data. Its not pointing me to any url. So in that case how can I set URL here? On Thursday, March 14, 2013 2:43:07 PM UTC+4, Vinay Kumar wrote: Append your pdf/xml/doc url to http://docs.google.com/gview?embedded=trueurl=+your file link and then try to load in webview. Hope this helps you. On Thu, Mar 14, 2013 at 3:34 PM, Archana archana...@gmail.comjavascript: wrote: How I can load doc/xlsx/pdf files into WebView? I am getting data as base64 format. Please suggest me how to display this? -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] How I can load doc/xlsx/pdf files into WebView?
I am not clear with this But I am getting file as base64 data could you please elaborate it more, if possible can you provide me a link. On Thu, Mar 14, 2013 at 4:47 PM, Archana archana.14n...@gmail.com wrote: Hello Vinay, Thanks for your reply, But I am getting file as base64 data. Its not pointing me to any url. So in that case how can I set URL here? On Thursday, March 14, 2013 2:43:07 PM UTC+4, Vinay Kumar wrote: Append your pdf/xml/doc url to http://docs.google.com/gview?** embedded=trueurl=+ http://docs.google.com/gview?embedded=trueurl=+your file link and then try to load in webview. Hope this helps you. On Thu, Mar 14, 2013 at 3:34 PM, Archana archana...@gmail.com wrote: How I can load doc/xlsx/pdf files into WebView? I am getting data as base64 format. Please suggest me how to display this? -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@**googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+**unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out . -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.