this is what I have done
//Initialize WebClient
WebClient webClient = new WebClient();
// Initialize Uri
var url = BookUrl + dataItem.FileName;
var uri = new System.Uri(url);
//Returns the PDF document stream from the given URL
var stream = webClient.OpenRead(uri);
pdfViewer.LoadDocument(stream);
in return this is what I get result
The thread 'Unknown' (0xc) has exited with code 0 (0x0).
09-12 22:37:15.293 I/art (30351): Enter while loop.
09-12 22:37:15.542 I/art (30351): Enter while loop.
09-12 22:37:15.637 I/art (30351): Enter while loop.
09-12 22:37:15.820 I/art (30351): Enter while loop.
09-12 22:37:15.919 I/art (30351): Enter while loop.
09-12 22:37:16.093 I/art (30351): Enter while loop.
09-12 22:37:16.169 I/art (30351): Enter while loop.
09-12 22:37:16.279 I/art (30351): Enter while loop.
09-12 22:37:16.402 I/art (30351): Enter while loop.
09-12 22:37:16.536 I/art (30351): Enter while loop.
09-12 22:37:16.649 I/art (30351): Enter while loop.
09-12 22:37:16.808 I/art (30351): Enter while loop.
09-12 22:37:16.891 I/art (30351): Enter while loop.
09-12 22:37:17.030 I/art (30351): Enter while loop.
09-12 22:37:17.149 I/art (30351): Enter while loop.
09-12 22:37:17.296 I/art (30351): Enter while loop.
09-12 22:37:17.490 I/art (30351): Starting a blocking GC Explicit
09-12 22:37:17.514 I/art (30351): Enter while loop.
09-12 22:37:17.520 I/art (30351): Explicit concurrent mark sweep GC freed 2794(192KB) AllocSpace objects, 59(5MB) LOS objects, 32% free, 8MB/12MB, paused 459us total 28.052ms
09-12 22:37:17.609 I/Choreographer(30351): Skipped 1033 frames! The application may be doing too much work on its main thread.
09-12 22:37:17.636 I/art (30351): Do partial code cache collection, code=53KB, data=61KB
09-12 22:37:17.638 I/art (30351): After code cache collection, code=52KB, data=59KB
09-12 22:37:17.638 I/art (30351): Increasing code cache capacity to 256KB
Thread finished: <Thread Pool> #13
Online url where the pdf file located is as which is more than 200 pages long.
http://webapischoolproject.yarshatech.com/Images/Books/19275afe-03c4-425f-8ac0-ab48c7f1198c.pdf
Tested devices android version 6 and device is Sony Ersion.
Thank you.