Wanted to save to a txt file more of this error.
How do I save? I want to back up a list and then try to restore … But I can not save on my smartphone, already tried file:///, /,//, save.txt Unsuccessful, do you have to give permission? How do I do?
FahadAhmad
(Fahad Ahmad)
October 15, 2019, 6:05am
#2
I think you don’t have permission to write data on storage. You need this:
Permission name:
READ_ / WRITE_EXTERNAL_STORAGE
1 Like
leandrogowes:
But I can not save on my smartphone, already tried file:///, /,//, save.txt Unsuccessful, do you have to give permission? How do I do?
see here: File path for unzip file component
Thanks, I found that giving the store permission manually saves the data on the device.
I used this block with the code you gave me more does not work, give error 908 and does not ask permission.
Thank you I will try this now:
android.permission.READ_ / WRITE_EXTERNAL_STORAGE
Solution: android.permission.WRITE_EXTERNAL_STORAGE
So it works, pops up asking for permission, thanks [fahadboss10] and [bodymindpower]
only this : android.permission.WRITE_EXTERNAL_STORAGE
If a (dangerous) permission has to be requested, the following block should no longer be used, for example:
[grafik]
The block works, but it is not supported in this block:
[grafik]
So just use always this block by default:
[grafik]
Only then you get the correct Boolean (true / false):
[grafik]
3 Likes
system
(system)
Closed
November 14, 2019, 7:23am
#10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.