Frequently Asked Question
How to open URL?
Last Updated 11 months ago
This article shows how to open an URL of a pdf.
You have to edit OnOpenUri method of PDFReaderAct class as follow:
public void OnOpenURI(String uri) { if(uri != null){ Intent i = new Intent(Intent.ACTION_VIEW); i.setData(Uri.parse(uri)); startActivity(i); } }