1

Is it possible to open remote pdf content using an android intent

view story
linux-howto

http://stackoverflow.com – I want to open a file hosted on a remote server (of type pdf) using an android intent. This is the code that i have currently that opens a local file: Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(<local_path>)); intent.setType("application/pdf"); PackageManager pm = getPackageManager(); List<ResolveInfo> activities = pm.queryIntentActivities(intent, 0); if (activities.size() > 0) { startActivity(intent); } How can i change this to open a remote pdf file ? (HowTos)