Piman
(Mossy Michael)
#1
Hi, koders: I need to pick a video and Upload it to Cloudnary with Activity Starter but, im facing with getting File path.
How can i pick a video and upload it to cloudnary?
I tried this trick: App Inventor Tutorials and Examples: Pick a file | Pura Vida Apps but only i get Result url and not File path
Use taifun file by @taifun or file tools by @vknow360 to get path from content URI…
Taifun file:
https://puravidaapps.com/file.php
file tools:
2 Likes
Also please search on the forms and google before asking because this question was asked many times before…
Piman
(Mossy Michael)
#4
Thanks: but i dont need any extension, i need to use Activity starter to pick and upload.
Piman
(Mossy Michael)
#5
I searched but no solotion for my case
I know,But you need to parse the URI to path…There isn’t another way…
1 Like
Why don’t you use VideoPicker component?
Piman
(Mossy Michael)
#9
its not working on some Android version 10 phones.
2 Likes
The video picker for some devices have some problem. Like on my phone it will call something elase to choose from.
2 Likes
Use the activity result URI to get the URI after activity.
This is the way to turn URI to real file path.
1 Like
Piman
(Mossy Michael)
#13
After getting an idea from @Mohamed_Tamer i tried his suggestion and comes up with solution.
Check up my blocks:
1 Like
I’m happy it has been solved…But take care…You are only uploading the thumbnail of the video to cludinary not the whole video…
system
(system)
Closed
#16
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.