I have Android 14. I want my app to send a soundfile (.3gp) by means of a telegram bot with the extension httpclient. But apparently the app has not the right permissions.
As soon as the app starts the soundfile is recorded by soundrecorder and automatic saved in app directory /files/MyDocuments/MyRecordings. The app has permission to delete the file. That is good. But it has no permissions to send the file in a telegram message. I tried the relative path and the absolute path. I know that from Android 11+ there are more restrictions in filehandling. Is there a extension I can use to send the sound file with httpclient extension to an telegram bot. Or are there other means. Maybe I do something wrong. The procedure to check if the file exists works.
These are the blocks for checking if file exists and sending the messages
Do you get an error message? Any screenshot?
The extension is here [FREE]HttpClient- Post a html form with enctype set to multipart/form-data
What are the values for fileExists, soundFile and opnamepad?
What do you get in the HttpClient.GotText event?
Use the companion app and Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.