I am building an app that records audio. When I click the record button (which starts the recording), it only asks to use the audio permission but it also should asks to use storage to save the audio file. How do I ask to use the storage permission?
After the audio has been recorded, the file must be saved somewhere. Usually in: storage/emulated/0/myRecords/ (or …/Download/ or …/Music/ or …).
storage/emulated/0/ is the root directory of the SD card that requires WRITE_EXTERNAL_STORAGE permission. Therefore you / the user will be ask to grant this permission.
When I use the directories you suggested, it gives me an 802 error and says that there is no such folder. How can I make a prompt that asks for storage access?
Thanks for the quick reply. Can I ask for two permissions at once? Right now, if I ask to write external storage and use the microphone, it will only ask for the permission listed first.
this block once i stated recording file has saved but second recording time first file auto remove, no get file list . folder inside always show one recorded file . how to solve it ?
Thank you all for your help, it was useful to understand how it works.
But right now I have a problem where I am trying to listen to the audio I just recorded but I can’t.
I’m using the exoplayer, i set the source to the file path just recorded, I created the directory, before creating the directory it gave an error, now it ‘plays’, but I hear nothing.
Wow, on kodular even the forum is bugged, i keep receveing notification from this post of the same reply.
Maybe it’s a sign since I’m not receiving any answer anywhere to ask here if you know a way to upload and categorize 3gp files, cloudinary doesn’t let me directly and easily categorize it, I tried airtable but I can’t let it work and create a new row, I don’t know why.
I tried firebase storage and it looks like there is a bug for everyone, from what I discovered it sets the bucket to makeroid-companion.appxyz… for everyone and we don’t have access to it.
Kodular offers many options, but they don’t really work ^^?
If you want help from this forum, your first task shouldn’t be to throw with criticism around you.
Tip: Use the search function. Many questions are already been answered.