Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C8AE692D4 for ; Tue, 3 Apr 2012 17:16:47 +0000 (UTC) Received: (qmail 79168 invoked by uid 500); 3 Apr 2012 17:16:47 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 79142 invoked by uid 500); 3 Apr 2012 17:16:47 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 79134 invoked by uid 99); 3 Apr 2012 17:16:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2012 17:16:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2012 17:16:46 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B5E44356F89 for ; Tue, 3 Apr 2012 17:16:25 +0000 (UTC) Date: Tue, 3 Apr 2012 17:16:25 +0000 (UTC) From: "Emiliano Angelini (Commented) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <611601844.7186.1333473385891.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <371928079.6852.1333469665385.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CB-426) camera.getPicture ignores mediaType in 1.5 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CB-426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245508#comment-13245508 ] Emiliano Angelini commented on CB-426: -------------------------------------- Thanks! Will be looking forward to using 1.6.0 :) > camera.getPicture ignores mediaType in 1.5 > ------------------------------------------ > > Key: CB-426 > URL: https://issues.apache.org/jira/browse/CB-426 > Project: Apache Callback > Issue Type: Bug > Components: Android > Affects Versions: 1.5.0 > Environment: Android 2.1 (Virtual), Android 3.1 (Motorolla Xoom). Built from Windows 7. > Reporter: Emiliano Angelini > Assignee: Simon MacDonald > Labels: Upload, Video, mediaType > Fix For: 1.6.0 > > > Hi, > I was using getPicture to upload videos, but when I upgraded to cordova-1.5.0 I noticed that the only files that I was able to select where pictures instead of videos. > The Call I was doing is this one: navigator.camera.getPicture(onVideoURISuccess, onVideoURIFail, { quality:50, mediaType: Camera.MediaType.VIDEO, destinationType: _destinationType.FILE_URI, sourceType: source}); > When I was using 1.4.1 the result was getting a list of videos from the gallery. Since I installed 1.5.0 I could only select images. > A code similar to what I was using is this one: > http://stackoverflow.com/questions/8940058/phonegap-crash-when-using-file-transfer-for-uploading-video-larger-than-15mb > > > > Video Uploader > > > > > > > > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira