Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D663018329 for ; Tue, 21 Jul 2015 22:14:05 +0000 (UTC) Received: (qmail 30563 invoked by uid 500); 21 Jul 2015 22:14:05 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 30542 invoked by uid 500); 21 Jul 2015 22:14:05 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 30255 invoked by uid 99); 21 Jul 2015 22:14:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2015 22:14:05 +0000 Date: Tue, 21 Jul 2015 22:14:05 +0000 (UTC) From: "Joe Bowser (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-2627) HTML File Input should support accept/source attributes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-2627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-2627: --------------------------- Assignee: (was: Joe Bowser) > HTML File Input should support accept/source attributes > ------------------------------------------------------- > > Key: CB-2627 > URL: https://issues.apache.org/jira/browse/CB-2627 > Project: Apache Cordova > Issue Type: Improvement > Components: Android > Reporter: Michael Migdol > Priority: Minor > > [CB-2086] always opens a generic File Picker, regardless of the values passed in for the mimetypes in the accept attribute, or the source attribute. The Android Browser correctly examines these attributes and starts up an activity with either: a camera intent, a camera/image intent, a camcorder intent, a sound recorder intent, or a sound recorder/audio intent. > I'm not sure what cross-pollination is allowed between the Android codebase and Cordova's, but it appears that packages/apps/Browser/src/com/android/browser/UploadHandler.java from the Android source tree contains exactly what we need to accomplish the same. -- 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