cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kirill Anoshin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-10177) Camera Plugin unable to choose video from gallery
Date Thu, 10 Dec 2015 12:10:10 GMT
Kirill Anoshin created CB-10177:
-----------------------------------

             Summary: Camera Plugin unable to choose video from gallery
                 Key: CB-10177
                 URL: https://issues.apache.org/jira/browse/CB-10177
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
         Environment: Android 4.4, Android 6
            Reporter: Kirill Anoshin


If you try to run the following code, you will always receive empty string as a path:
{code}
navigator.camera.getPicture(function(path) {
                    ...
                }, onError, {
                    quality: 75,
                    destinationType: Camera.DestinationType.FILE_URI,
                    sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
                    encodingType: Camera.EncodingType.JPEG,
                    popoverOptions: new CameraPopoverOptions(position.left, position.top),
                    mediaType: Camera.MediaType.PICTURE
                });
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message