Create a folder and store files in it which user can access (Kivy)

251 views
Skip to first unread message

Abdu Moez

unread,
Feb 27, 2023, 1:42:55 PM2/27/23
to Kivy users support
I am making a app which create a file (.txt or any other) from different data.

I want to create data in the sdcard or any other user directories in android >= 11.

I tried creating directory with usual code but it gives error permission denied

I already have permission of WRITE_EXTERNAL_STORAGE, READ_EXTERNAL_STORAGE

both in python file and buildzer spec file.

This code works fine for lower android version files android <= 10.

I spend days to find the answer but no luck. Tried to ask chatgpt and it gives weird answer which is not even the part of kivy library.
 

Robert

unread,
Feb 27, 2023, 2:16:51 PM2/27/23
to Kivy users support

Abdu Moez

unread,
Feb 27, 2023, 3:04:20 PM2/27/23
to Kivy users support
Thanks it is of great help
Reply all
Reply to author
Forward
0 new messages