You can run an intent that will allow the user to choose which application will open the PDF, with the following code that will work for any file and mimetype. If the user does not have an application that can open it, you can display an error message or do whatever you need.
, , , .
private void openFile(File f, String mimeType)
{
Intent viewIntent = new Intent();
viewIntent.setAction(Intent.ACTION_VIEW);
viewIntent.setDataAndType(Uri.fromFile(file), mimeType);
List<ResolveInfo> resolved = getPackageManager().queryIntentActivities(viewIntent, 0);
if(resolved != null && resolved.size() > 0)
{
startActivity(viewIntent);
}
else
{
}
}