1. It is almost always a mistake to call RP.Check. You should use RP.CheckAndRequest and continue the program flow from the PermissionResult event.
2. Your code is wrong. You have confused two different things. If you set the maxSdkVersion to the permission then you need to use RuntimePermission.GetSafeDirDefaultExternal.
1. It is almost always a mistake to call RP.Check. You should use RP.CheckAndRequest and continue the program flow from the PermissionResult event.
2. Your code is wrong. You have confused two different things. If you set the maxSdkVersion to the permission then you need to use RuntimePermission.GetSafeDirDefaultExternal.
Thank you for your answer
i get no 1
i still have confused about no 2 :
in my app ,after download a file i save it to (File.DirInternalCache) ,and i asked user to save it in any other place if he want ,what is your recommendation to do that ,because i have above problem if user select external storage path
because when i use this and test on android 6 i get java.io.FileNotFoundException: /mnt/m_external_sd/file name: open failed: EACCES (Permission denied)