title: Show PDF file in App
body: <p>I found this two possibilities to show a pdf file.</p>
  
  <ol>
  <li><p>Open a webView with: </p>
  
  <p><code>webView.loadUrl("https://docs.google.com/gview?embedded=true&amp;url="+uri);</code></p></li>
  <li><p>Open the pdf File with a extern App:</p>
  
  <p>Intent intent = new Intent(Intent.ACTION_VIEW);
  intent.setDataAndType(Uri.fromFile(outFile),"application/pdf");
  intent.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);
  startActivity(intent);</p></li>
  </ol>
  
  <p>Both of them work. But my problem is that the pdf is for internal use only and in both examples the user could download it or save it in another folder.</p>
  
  <p>I know frameworks for this in iOS dev, I looking for a solution that works with Android.</p>