Android Question save a video received from share from another application

dagodom

Member
Licensed User
Longtime User
Hello
is there anyone who knows how I can save a video received via share from another application?
For images I use the command:
B4X:
bmp = LoadBitmapSample ("ContentDir", uri, 100%x, 100%y)
for the videos I could not find the corresponding command.
I tried to look outside of B4A among the android forums but I didn't find anything.
Does anyone know how to address me somehow?
Thank you so much
 

DonManfred

Expert
Licensed User
Longtime User
Use file.copy("ContentDir", uri, destpath, filename) to copy the file to whereever you want.
 
Upvote 0

dagodom

Member
Licensed User
Longtime User
so simple ?
And to say that I had tried so many commands ..., I'm really old :)

Thank you so much
 
Upvote 0
Top