Uri uri = Uri.parse("com.dynamixsoftware.printershare.print");
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.setData(uri);
intent.setPackage("com.dynamixsoftware.printershare.print");
intent.setType("application/pdf");
startActivity(intent);
return true;
This is the code I am using to call another application from my application. I think the uri I am mentioning is incorrect. In that case, I dont know how to get the right one. Else, I don't know what's going wrong. I have no error in the logcat and the application force closes.