WDMobile 28 Camera Control June 30, 2023 01:32AM |
Registered: 5 years ago Posts: 151 |
IF InAndroidMode() AND NOT InSimulatorMode() THEN // Start taking photos CameraRunApp(viPictureCapture,CB_NewPhoto) ELSE CameraCapture(CAM_WinOrd,PhotoPath(sName+".jpeg"),viPictureCapture) CB_NewPhoto(PhotoPath(sName+".jpeg")) END
////////////////////////////Photopath procedure/////////////////////////////////// //gsPhotoDirectory = fCurrentDir() + [fSep] + "photos" //PROCEDURE PhotoPath(LOCAL sPhoto is string) //RESULT gsPhotoDirectory + [fSep] + sPhoto ////////////////////////////Photopath procedure///////////////////////////////////
Error Message : You called 'CameraCapture'. Error specifying capture file: 'C:\My Mobile Projects\CabinetTrac Barcode v28\Exe\photos\532314_162344.jpeg' is not a valid file name or video/image currently saved by device System error details: Unspecified error (2147500037)