How to read PDF file with url in Android
<p>My Code is :</p>

<pre><code>File file = new File(docpath);
String mimetype = "application/pdf";

Uri path = Uri.fromFile(file);
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(path, mimetype);
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);

startActivity(intent);
</code></pre>

<p>If I want to use the application/pdf method
What should I do?</p>
