I try now the EZcamera library to take pictures. It works fine but I would like to move the pictures to a certain directory. It is possible to copy the fresh taken pic to a certain directory but it is not possible to delete the original file in the DirRootExternal because the original name is not "TestPic.jpg". To be able to delete it I had to know the name which was created in the original camera directory.
Sub Activity_Create(FirstTime As Boolean) Dim cam As EZcamera cam.Initialize("Cam") cam.TakePicture(File.DirRootExternal, "TestPic.jpg") End Sub Sub Activity_Resume End Sub Sub Activity_Pause (UserClosed As Boolean) End Sub Sub Cam_PictureTaken (FileSaved As Boolean) If FileSaved = True Then ToastMessageShow("Picture Saved " & File.DirRootExternal, True) File.Copy(File.DirRootExternal,"TestPic.jpg",File.DirRootExternal & "/Pictures" & "/NEW/","TestPic.jpg") File.Delete(File.DirRootExternal,"TestPic.jpg") '<< DOESN´T WORK BECAUSE OF NAME End Sub