My requirement is, I need to display content in pdf for my app. I'm getting InputStream of a file over HTTP call. How can I convert this InputStream to PDF view without storing in SD card?
I can use the below code:
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(new File(File Path)), "application/pdf");
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(intent);
But is there any other way to display in PDF?