title: Android Online PDF Load - Preview Not available error via Google Doc
body: <p>The core part of my application is load PDF online and user have access to download it as per their given rights.</p>
  
  <p>The problem I am facing is that I want to load pdf online. After many research I have found that,</p>
  
  <p>There are likely two ways to show pdf online in android:</p>
  
  <p>1) In Web view by loading simple hosted URL</p>
  
  <p>2) By google doc.</p>
  
  <p>But in our case, if we use way (1),  the mobile web view does not redirect hosted url of PDF.
  And if we use way (2), then there are certain limitations of the google docs regarding the file sizes. (Small pdf it will load like 5 to 10 with size of 1MB)</p>
  
  <p><strong>But after loading PDF with the size of  2 or 3 MB it's also giving me error as "No PREVIEW AVAILABLE" and its continuously giving me this error opening different urls.</strong></p>
  
  <p>So it seems there is still no easy solution for viewing a pdf from url (online without downloading pdf). </p>
  
  <p>The other way to open pdf online is that we can open it in any other third party applications like browser, adobe pdf reader or any kind of pdf viewer application available in the device.</p>
  
  <p><em>Cons: If we open pdf in browser then it will get downloaded automatically and if we open it in any third party application then they have options to download the pdf.</em></p>
  
  <p>Please give me some solution to read the PDF online.</p>
  
  <p>And if there are any paid pdf SDK availble which gives functionality of loading pdf online from URL, then please provide information of that too.</p>
  
  <p>Please also suggest me some pdf viewer library for displaying pdf online.</p>
  
  <p>I have used many of the library, but it increases my application's size to 8 to 10 MB.</p>
  
  <p>Thanks in advance.</p>