getFilesDir() 안에 xls 파일이 있습니다.

이 파일을 Intent에 담아서 퀵오피스 같은 어플에서 보이게 하고 싶습니다.


Intent i = new Intent(Intent.ACTION_VIEW);

i.setDataAndType(uri, mimeType);

i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);

startActivity(i);


근데 getFilesDir()에 있어서 그런지  java.io.FileNotFoundException : Permission denied 에러가 납니다.

어떻게 넘겨야하나요?