iOS Question iMedia Camera. How to get File name?

Semen Matusovskiy

Well-Known Member
Licensed User
Photo - in Cam_Complete you can create OutputStream and to save a photo by any name.
B4X:
OutputStream = File.OpenOutput (File.DirDocuments, "AnyName.JPG", False)
Image.WriteToStream (OutputStream, 100, "JPG")

Video -
You can, for example, to copy, where you want
B4X:
File.Copy (VideoPath, "", File.DirTemp, "anyname.mov")
File.Delete (VideoPath, "")
 
Upvote 1
Top