I need to open my app private files(pdf, txt, etc) with some reader applications by using the android default View intent(Intent.ACTION_VIEW).
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(uri, "application/*");
startActivity(intent);
But I don't need the file be cached to the reader application. Is there any way to do this? Or do I need to integrate the reader library within my app to prevent these caching.