Android Question Permission Error

PumaCyan

Member
Licensed User
I'm making a training project, in which there is a process of saving the configuration to storage
I found an obstacle in entering permissions to read and write in storage
in the code I have written code to provide storage access, but when I check in the application manager, access permission is not there
is there something wrong?

bug1.png
 

Attachments

  • FCM.zip
    11.7 KB · Views: 144

Mahares

Expert
Licensed User
Longtime User
is there something wrong?
I could not run your project because you are missing some file. But, looking at your code, you are requesting permission on File.DirInternal. . No permission is required for File.DirInternal. If you want permission you have to save in defaultexternal of rootexternal . See RunTImePermissions literature.
 
Upvote 0

PumaCyan

Member
Licensed User
I could not run your project because you are missing some file. But, looking at your code, you are requesting permission on File.DirInternal. . No permission is required for File.DirInternal. If you want permission you have to save in defaultexternal of rootexternal . See RunTImePermissions literature.

sorry, this is my mistake
I forgot if access to internal storage does not need permission
problem solved

maybe I just need a cup of tea or coffee, to accompany my focus ?
thank you @Mahares
 
Upvote 0
Top