Android Question Wait For file.copy(Dir.....

Angelo Messina

Active Member
Licensed User
Longtime User
Hello everyone,
I have to wait for a copy of a file to finish before continuing


I thank you for the help you have always given me
 

Angelo Messina

Active Member
Licensed User
Longtime User
here's what happens to me:
I take a picture
B4X:
     Dim NumProv As Long = AssegnoRiferimento + 1     ' Assegno momentaneamente il numero che prederà il rifornimento
     File.Copy(PicturesFolder, Img,Comodo.PATHFOTO,"img_"&NumProv&".jpg")
     File.Delete(PicturesFolder, Img)

copy the photo but does not cancel from PicturesFolder

and switch to the sub

Activity_Resume
 
Upvote 0
Top