Hello All,
For days now I have wasted time trying to figure why code that worked in v26 no longer works in v28.
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)
No matter what file path I use it fails every time. No matter what file name I use it fails every time and the or video/Image is NOT currently saved by device.
This code worked fine in 26.
Anyone have Android app with CameraCapure that works in simulator?
DW