Opening a file from My Documents/Downloads

I am using an API that spits out a PDF. The PDF is being downloaded to My Documents/Downloads.

I need to access that document, however I cannot because of the space in the path.

android.permission.WRITE_EXTERNAL_STORAGE
android.permission.READ_EXTERNAL_STORAGE

are set.

The Download component for Show Download does not show that folder. In addition I need to do some other things to the file before the user interacts.

Any suggestions? (yes I searched, and if I missed something please accept my apologies)

Can you elaborate this :point_up_2: a little bit?

…\My Documents\Downloads\filename

Try replacing the spaces with %20
(give it a try and let me know what happens)

Instead of using an extension I am using an Activity Starter, and the filename as is works fine.

1 Like