Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/xamarin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
通过navigator.camera.getpicture从cordova拍摄照片后,我们可以指定照片名称吗?_Cordova - Fatal编程技术网

通过navigator.camera.getpicture从cordova拍摄照片后,我们可以指定照片名称吗?

通过navigator.camera.getpicture从cordova拍摄照片后,我们可以指定照片名称吗?,cordova,Cordova,我正在使用navigator.camera.getpicture通过cordova拍照。 我们可以为图像指定图片名称吗?函数camera.getPicture打开设备的默认相机应用程序,以便用户可以拍照(如果camera.sourceType=camera.PictureSourceType.camera,这是默认设置)。拍照后,相机应用程序关闭,应用程序恢复 如果Camera.sourceType=Camera.PictureSourceType.PHOTOLIBRARY或Camera.Pic

我正在使用navigator.camera.getpicture通过cordova拍照。
我们可以为图像指定图片名称吗?

函数camera.getPicture打开设备的默认相机应用程序,以便用户可以拍照(如果camera.sourceType=camera.PictureSourceType.camera,这是默认设置)。拍照后,相机应用程序关闭,应用程序恢复

如果Camera.sourceType=Camera.PictureSourceType.PHOTOLIBRARY或Camera.PictureSourceType.SAVEDPHOTOALBUM,则会显示一个照片选择器对话框,从中可以选择相册中的照片

返回值将以以下格式之一发送到cameraSuccess函数,具体取决于您指定的cameraOptions:

A String containing the Base64 encoded photo image (default).

A String representing the image file location on local storage.

函数camera.getPicture打开设备的默认摄像头应用程序,以便用户可以拍照(如果camera.sourceType=camera.PictureSourceType.camera,这是默认设置)。拍照后,相机应用程序关闭,应用程序恢复

如果Camera.sourceType=Camera.PictureSourceType.PHOTOLIBRARY或Camera.PictureSourceType.SAVEDPHOTOALBUM,则会显示一个照片选择器对话框,从中可以选择相册中的照片

返回值将以以下格式之一发送到cameraSuccess函数,具体取决于您指定的cameraOptions:

A String containing the Base64 encoded photo image (default).

A String representing the image file location on local storage.

你的回答没有任何意义或对问题的解决办法。你的回答没有任何意义或对问题的解决办法。