Android Question OpenOutput on Sd card

Giusy

Active Member
Licensed User
Hi,
I would write a file on my sd card
The instruction causes this error: Permission Denied
B4X:
Dim out As OutputStream = File.OpenOutput(Main.DIRECTORY_CARD & "/PDF",Main.titolo & ".pdf", False)
I have to insert an instruction in Manifest Editor? If so, which one?
Thanks
 

Giusy

Active Member
Licensed User

Attachments

  • Screenshot_2019-03-19-15-21-59error.png
    Screenshot_2019-03-19-15-21-59error.png
    29.9 KB · Views: 72
Upvote 0

Giusy

Active Member
Licensed User
What is the device OS version? When does this error happen? What do you see in the logs?
Hi @Erel
I work with
pc windows 7
device samsung - version 4.4.2

I lunch the program in debud mode and the window said: completed successfuly
and immediately the writing of the screenshot I have attached to you comes out
Nothing in the log
 
Upvote 0
Top