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

Leonardo Silveira Nascimento Filho commented on CB-11861:
---------------------------------------------------------

more info on the topic: if i add ngf-accept="'image/*'" to the button 
declaration it shows me the file picker immediately.

  <md-button class="md-raised md-default"
             ngf-resize="{width: 200, quality:0.9}"
             ngf-select="uploadFiles($file)"
             ngf-fix-orientation="true"
             ngf-accept="'image/*'"
             ng-model="picFile"
             ngf-max-size="20MB">
    Escolher imagem
  </md-button>



> <input type="file" accept="image/*" capture/> regression
> --------------------------------------------------------
>
>                 Key: CB-11861
>                 URL: https://issues.apache.org/jira/browse/CB-11861
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 6.3.1
>         Environment: [sombriks@sephiroth ~]$ cordova -version ; cordova 
> platform list | grep android ; uname -a
> 6.3.1
> android 5.2.2
> Linux sephiroth 4.7.3-200.fc24.x86_64 #1 SMP Wed Sep 7 17:31:21 UTC 2016 
> x86_64 x86_64 x86_64 GNU/Linux
> the phone running the test is an LG G4 android 6
>            Reporter: Leonardo Silveira Nascimento Filho
>              Labels: accept, camera,, capture,
>         Attachments: Screenshot_2016-09-17-15-57-41.png
>
>
> instead of show options as camera and gallery, it shows fm radio and file 
> administrator.
> cordova-lib 6.3.1
> cordova-android 5.2.2
> the phone running the test is an LG G4 android 6



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to