You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Michael Migdol (JIRA)" <ji...@apache.org> on 2013/03/05 22:24:13 UTC
[jira] [Created] (CB-2627) HTML File Input should support
accept/source attributes
Michael Migdol created CB-2627:
----------------------------------
Summary: 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
Assignee: Joe Bowser
[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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira