PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Operating mode in Android
  • Equivalence
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
CameraRequestPermission (Function)
In French: CaméraDemandePermission
Requests the permission for using the video camera found on the device.
Example
IF CameraRequestPermission() = True THEN
OpenMobileWindow(WIN_Camera)
END
Syntax
<Result> = CameraRequestPermission()
<Result>: Boolean
  • True if the permission to use the video camera was granted,
  • False otherwise.
Remarks
Android

Operating mode in Android

  • If the "CAMERA" permission was not added to the list of application permissions in the generation wizard, CameraRequestPermission will return False.
  • From Android 6.0 or later, the call to this function may trigger the display of a dialog box asking the user to allow the application to use the video camera of the device. If the authorization is not granted by the user, this dialog box will be displayed whenever this function is called.

Equivalence

This function is equivalent to VideoRequestPermission.
Components
Android wd230android.jar
Minimum required version
  • Version 22
Comments
Click [Add] to post a comment