You must make /data/data/app.package/file.pdf re-accessible to other applications.
1) using openFileOutput (fname, Context.MODE_WORLD_READABLE) .close (); create a shared file in the data directory of your application.
2) write the pdf file to the created file using Streams (you can write to the returnet stream using openFileOutput rather than closing it)
3) open the pdf file
source share