- Photos saved
- Backup directories
PhotoRunApp (Function) In french: PhotoLanceAppli Starts the native camera application of the device in order to take a photo.
sPhoto is string = PhotoRunApp() IF sPhoto <> "" THEN Info("Photo saved in the file: " + sPhoto) END
// Starts the application PhotoRunApp(CB_PhotoRunApp) INTERNAL PROCEDURE CB_PhotoRunApp(sPath is string) // If the return is an empty string vide (""), an error occurred IF sPath ~= "" THEN Error(ErrorInfo()) RETURN END // Message for end of recording Info("The photo was saved here: " + sPath)
Syntax
Starting the native camera application (locking call) Hide the details
<Result> = PhotoRunApp()
<Result>: Character string - Full path of the file where the photo was saved,
- Empty string ("") if an error occurred. To get more details on the error, use ErrorInfo.
Starting the native camera application (non-locking call) Hide the details
<Result> = PhotoRunApp([<WLanguage procedure>])
<Result>: Character string - Full path of the file where the photo was saved,
- Empty string ("") if an error occurred. To get more details on the error, use ErrorInfo.
<WLanguage procedure>: Procedure name Name of the WLanguage procedure ("callback") called when the photo is saved. This procedure has the following format:
PROCEDURE <Procedure name> (<Path>)
where <Path> corresponds to the backup path of the image. Remarks Photos saved The photo settings (format, resolution, size) are the ones defined in the native camera application. Business / UI classification: UI Code Component: wd270android.aar
This page is also available for…
|
|
|
|