For uploading videos, we need a camcorder component to first record a video. The after-recording event of the camcorder returns a clip which is a content URI. Our custom procedure uploadFile requires a filePath. Hence, we need to convert it to a file path first. So, before calling the procedure uploadFile for a video recorded using the camcorder component, use KIO4_Base641.uriTopath to convert the clip into a filepath. The file ext is _video.3gp.
Your explanation of how to upload sound files to Google Drive using App Inventor is so clear and concise. Can't wait to try it out and add this functionality to my own apps. Thank you for sharing!
Thank you for this incredibly helpful tutorial on uploading sound files to Google Drive using App Inventor! Your clear explanations and step-by-step instructions make it easy for anyone to follow along and achieve success. Can't wait to try it out myself!
Thank you :). We are using the web component to postText in our uploadFile procedure. This web component will trigger a gotText event after writing to the Google Drive successfully. In web's gotText event, we will get a fileID as responseContent. Join this responseContent (fileID) with a text block containing: "drive.google.com/file/d/" and this will be your file path that you can save in Google sheet. Hope that helps :)
@@ObsidianSoftEducation Hi Thanks for your prompt reply. I have attached the screenshot here: snipboard.io/QxC9to.jpg Its not working??? Let me know if any changes thanks or expecting with the same Video Upload,used camcorder for the same but not getting stored up. Zoom your browser to see perfect,thanks a lot.
I am sorry but I just saw your comment as I get notifications for new comments but not replies. Our custom procedure uploadFile requires filePath. If you use the notifier to see what is inside the clip, you will see that it is in the form of content://...... This is a URI and we need to convert it to a file path. So, before calling the procedure, use KIO4_Base641.uriTopath to convert the clip into a filepath.
I tried to upload sounds files recorded by a wav sound recorder instead of the normal sound recorder and it doesn't seem to work. Is there a different way that I need to look at it or try to upload audios by any chance?
Our custom procedure requires a file path. I am assuming that you are using some extension to record wav files. Do you have the file path or uri for the recording? If you have the file path, you can use upload file procedure but for content uri, you need to change the uri into file path. See my pinned comment.
I tried to use the normal voice recorder as well and I followed the procedure shown in the video but I still was not able to upload to the google drive. I have checked the folder ID and the script, made sure all the blocks are correctly placed, but I still don't know what could be the problem@@ObsidianSoftEducation
Make sure that the file extension is correct. It should be 3gp. Normal sound should be uploaded without any issues as the sound recorder component returns a file path that doesn't even require any changes. Make sure that the Google drive folder has editor rights. I also have a written tutorial for the project. You can go through that too in case something was missed. The link for the written tutorials are in the video descriptions.
Thank you very much. I got it to work. Last question I swear. How do I get the URI that needs to be converted to the file path on MIT APP Inventor?@@ObsidianSoftEducation
UrI for which media? Sound is returned as a file path by sound recorder. Camera component also returns a file path that needs to be edited. Camcorder component returns a uri that needs to be converted to file path. Also, I think file picker returns a uri.
I am trying to make an application for users to upload .iso files , it has some text boxes with specific details for each file that need to be filled by the user . Is this doable with your google drive method ?
My focus was on any file created within MIT app inventor, which can be a text file, image, audio or video. Now, an iso file will have to be chosen using file picker. Also , I don't know how the extension will behave in encoding it to base64.
@@ObsidianSoftEducation I figured it would be better like to fill the form and paste link ( of the file on a google drive ) which would be used for download , Do you know any way for how to make a search engine for for firebase?
It should work as the procedure is generic and will work if you know the absolute file path of your file be it audio, video, etc. I have shared 3 examples of finding file paths of different types of files but I wasn't able to cover video due to lack of time but uploading video is still possible with this procedure.
As long as you know the file path, you can use the custom procedure for uploading files. The file picker component returns a content uri. See my pinned comment to convert content uri to file path and then use the custom procedure uploadFile accordingly.
Also , remember that file picker requires read storage permission, and you cannot just pick any file from your device. You can only read from public folders such as music.
For uploading videos, we need a camcorder component to first record a video. The after-recording event of the camcorder returns a clip which is a content URI. Our custom procedure uploadFile requires a filePath. Hence, we need to convert it to a file path first. So, before calling the procedure uploadFile for a video recorded using the camcorder component, use KIO4_Base641.uriTopath to convert the clip into a filepath. The file ext is _video.3gp.
App inventor have the whole world in it, you can never get bored by exploring it ❣️
Yes. MIT app inventor has a lot of potential.
Your explanation of how to upload sound files to Google Drive using App Inventor is so clear and concise. Can't wait to try it out and add this functionality to my own apps. Thank you for sharing!
Thanks for the wonderful feedback 😊
Thank God you explained whole procedure in same video apart of some other creators who talks so much except sharing tutorial 😊
Glad that you liked it !
It's easier to understand after following your tutorial. All queries answered. Thanks a lot.
Most welcome 😊
Thank you for this incredibly helpful tutorial on uploading sound files to Google Drive using App Inventor! Your clear explanations and step-by-step instructions make it easy for anyone to follow along and achieve success. Can't wait to try it out myself!
Thanks for the wonderful feedback 😊
Thanks for sharing technically tricky procedure of uploading sound in such an easy way.
Most welcome 😊
You explained it very well👌
Thanks 😊
It is very easy to follow this tutorial, nicely explained
Thank you for watching 😊
I love the way you explain it 😮 well designed and informative tutorial
Thanks for liking 👍
MashaAllah ur all videos are so up to the time
Thanks 😊
Very informative tutorial! Thanks for explaining it with each n every details 😊
Most welcome 😊
This video tutorial is really very helpful!
Thanks 😊
Thank you for sharing this tutorial
Most welcome 😊
Thanks for sharing this tutorial
Most welcome 😊
very good tutorial, how could I get the path of the file that is saved to save the path in google sheet?
Thank you :). We are using the web component to postText in our uploadFile procedure. This web component will trigger a gotText event after writing to the Google Drive successfully. In web's gotText event, we will get a fileID as responseContent. Join this responseContent (fileID) with a text block containing: "drive.google.com/file/d/" and this will be your file path that you can save in Google sheet. Hope that helps :)
really helpful
Thank you 😊
Thank you so much.
Most welcome 😊
Thanks for this video
Most welcome 😊
Will not workable with Video File? Thanks for sharing
It should work with video file. Have you used camcorder component?
@@ObsidianSoftEducation Hi Thanks for your prompt reply. I have attached the screenshot here: snipboard.io/QxC9to.jpg Its not working??? Let me know if any changes thanks or expecting with the same Video Upload,used camcorder for the same but not getting stored up. Zoom your browser to see perfect,thanks a lot.
I am sorry but I just saw your comment as I get notifications for new comments but not replies. Our custom procedure uploadFile requires filePath. If you use the notifier to see what is inside the clip, you will see that it is in the form of content://...... This is a URI and we need to convert it to a file path. So, before calling the procedure, use KIO4_Base641.uriTopath to convert the clip into a filepath.
I tried to upload sounds files recorded by a wav sound recorder instead of the normal sound recorder and it doesn't seem to work. Is there a different way that I need to look at it or try to upload audios by any chance?
Our custom procedure requires a file path. I am assuming that you are using some extension to record wav files. Do you have the file path or uri for the recording? If you have the file path, you can use upload file procedure but for content uri, you need to change the uri into file path. See my pinned comment.
I tried to use the normal voice recorder as well and I followed the procedure shown in the video but I still was not able to upload to the google drive. I have checked the folder ID and the script, made sure all the blocks are correctly placed, but I still don't know what could be the problem@@ObsidianSoftEducation
Make sure that the file extension is correct. It should be 3gp. Normal sound should be uploaded without any issues as the sound recorder component returns a file path that doesn't even require any changes. Make sure that the Google drive folder has editor rights.
I also have a written tutorial for the project. You can go through that too in case something was missed. The link for the written tutorials are in the video descriptions.
Thank you very much. I got it to work. Last question I swear. How do I get the URI that needs to be converted to the file path on MIT APP Inventor?@@ObsidianSoftEducation
UrI for which media? Sound is returned as a file path by sound recorder. Camera component also returns a file path that needs to be edited. Camcorder component returns a uri that needs to be converted to file path. Also, I think file picker returns a uri.
Very nice app
Yes. It is a very useful app.
I am trying to make an application for users to upload .iso files , it has some text boxes with specific details for each file that need to be filled by the user . Is this doable with your google drive method ?
My focus was on any file created within MIT app inventor, which can be a text file, image, audio or video. Now, an iso file will have to be chosen using file picker. Also , I don't know how the extension will behave in encoding it to base64.
@@ObsidianSoftEducation I figured it would be better like to fill the form and paste link ( of the file on a google drive ) which would be used for download , Do you know any way for how to make a search engine for for firebase?
Will not workable with video file? Thanks for sharing
It should work as the procedure is generic and will work if you know the absolute file path of your file be it audio, video, etc. I have shared 3 examples of finding file paths of different types of files but I wasn't able to cover video due to lack of time but uploading video is still possible with this procedure.
make so we can pick any file from the app and send it , i am trying to make but cant figure out how to do
As long as you know the file path, you can use the custom procedure for uploading files. The file picker component returns a content uri. See my pinned comment to convert content uri to file path and then use the custom procedure uploadFile accordingly.
Also , remember that file picker requires read storage permission, and you cannot just pick any file from your device. You can only read from public folders such as music.