Currently I have a pdf url
, and I would like to simply using the intent to open it, however, it does not work if I put the url
in intent
The actual error
android.content.ActivityNotFoundException: No Activity found to
handle Intent
{
act=android.intent.action.VIEW
dat=http://oshc.zizsoft.com/oshc_testing.pdf typ=application/pdf
}
This says that:
broadcast
" and Intent to let the system try to open a PDF
filePDF
)You just need a PDF viewer
of some kind.
Solution
Get a PDF reader
app or use @Mahendra's solution.