I have an app that among other things fires up a pdf reader to allow the user to view a document selected by the app. It works on my phone but not Samsung tablet. The intent seems to work fine and the selection of reader apps comes up but when the reader is selected, a short time later the error message” Can’t open file “ is shown.
The same app can also fire up browser and text applications to show other files and this works fine on the tablet. So my file references are all OK. External storage for WRITE in the manifest is set OK.
When I select the document on the tablet (not thru my app) it opens OK. I have selected the pdf part of the main app and extracted it into a simple pdf reading only app and still the same problem.
It seems to be specific to the tablet – can anybody help me?

```
Intent i = new Intent(Intent.ACTION_VIEW);
File file1 = new File(Environment.getExternalStorageDirectory() + "/Documents/A.pdf");
Uri ur=Uri.fromFile(file1);
i.setType("application/pdf");
i.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);
startActivity(i) ;

```