[ 
https://issues.apache.org/jira/browse/CB-2627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15961468#comment-15961468
 ] 

Joe Bowser edited comment on CB-2627 at 4/7/17 9:35 PM:
--------------------------------------------------------

[~NiklasMerz] That's the current behaviour.  This is a non-trivial feature to 
implement.  If you manage to get it implemented with tests, we'll accept the PR 
request, but this is a hard problem considering the complexity of the code 
required.

FTR: The priority is based on cost in time for the Cordova maintainers to 
implement and maintain this code vs the benefit that it could have on the 
project.  This is a very complex feature that you could shim using the existing 
plugins more easily than add into the core project, although even then it's 
non-trivial.


was (Author: bowserj):
[~NiklasMerz] That's the current behaviour.  This is a non-trivial feature to 
implement.  If you manage to get it implemented with tests, we'll accept the PR 
request, but this is a hard problem considering the complexity of the code 
required.

> 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.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to