How to open a pdf file from asd in a third party app using activity starter?

No, It is not working and it will not work.
But it is possible with help of activity starter or sharing component which is happening in App1.
Example. We can share pdf, png from our app’s ASD to telegram, whatsapp etc. But they can’t access it directly.

How to open a pdf file from asd in a third party app using activity starter?

But then the topic should have been like this:

How do you share a pdf file (or any file) from the ASD (or from any path of the Shared storage) with any messaging app using activity starter (or even directly)?

Since this PDF file must have been created by App1 itself (otherwise it would not be in App1’s ASD), the creator of App1 knows the path to the PDF file and can also share it directly (without activity starter).

So, to make it even shorter, the question should have been:

How do I share a self-created (non-media) file?
This question has certainly been asked and answered thousands of times?

Note: You can share a media file (like png, jpg, mp3 etc) from any path (even from the root dir of the external storage).

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.