Rasoull Member Aug 14, 2021 #1 Hi, I need to upload an image on Android 10+. Is this possible without permission? If not, how should I get permission?
Hi, I need to upload an image on Android 10+. Is this possible without permission? If not, how should I get permission?
Erel B4X founder Staff member Licensed User Longtime User Aug 15, 2021 #2 More information please. Where is the image and what are you trying to do with it? Upvote 0
Rasoull Member Aug 16, 2021 #3 Erel said: More information please. Where is the image and what are you trying to do with it? Click to expand... The image for the user profile is selected using the content chooser. Once selected, it is transferred to safedefaultexternal , then uploaded for storage on the server, but the upload operation is not performed without storage permission. Upvote 0
Erel said: More information please. Where is the image and what are you trying to do with it? Click to expand... The image for the user profile is selected using the content chooser. Once selected, it is transferred to safedefaultexternal , then uploaded for storage on the server, but the upload operation is not performed without storage permission.
KMatle Expert Licensed User Longtime User Aug 16, 2021 #4 You should be able to read the contents with File.ReadBytes, convert it to Base64 (via StringUtils) and send it to your server. If you need an other way please specify what you exactly need. Upvote 0
You should be able to read the contents with File.ReadBytes, convert it to Base64 (via StringUtils) and send it to your server. If you need an other way please specify what you exactly need.