You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Charalampos Tampakopoulos (JIRA)" <ji...@apache.org> on 2014/08/20 15:48:26 UTC
[jira] [Commented] (CB-7312) Wrong Destination Type for Cordova
Camera
[ https://issues.apache.org/jira/browse/CB-7312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14103884#comment-14103884 ]
Charalampos Tampakopoulos commented on CB-7312:
-----------------------------------------------
Today I had some time and I narrowed down the problem. The problem was with the way the android uses files since version 4.4
I have a quick but somewhat dirty workaround. If you would like me to send the code I will be more than happy. But to be honest it needs clean up as I duplicated a lot of your functionality because I was afraid it would break something else.
> Wrong Destination Type for Cordova Camera
> -----------------------------------------
>
> Key: CB-7312
> URL: https://issues.apache.org/jira/browse/CB-7312
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 3.5.0
> Reporter: Charalampos Tampakopoulos
> Assignee: Vivek Thakur
>
> When I am using the following options:
> quality: 95,
> destinationType : FILE_URI,
> sourceType : PHOTOLIBRARY,
> allowEdit : false,
> mediaType: ALLMEDIA,
> targetWidth: 680,
> targetHeight: 680,
> correctOrientation: true,
> saveToPhotoAlbum: false
> I keep getting back the native URI from the android phone.
> If I select either picture or video instead of all media the result is the expected file_uri.
> If this is the expected behavior I thing this should be stated in the documentation.
> The camera version I am using is the 0.3.0 and I am developing using a nexus 4 using android version 4.4.4
--
This message was sent by Atlassian JIRA
(v6.2#6252)