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

Ian Clelland commented on CB-5294:
----------------------------------

I see the same behaviour as Mike, on my N7 (4.4.3, KTU84L, Chrome 33.0.0.0). 
The files are renamed -- I don't know if that is a privacy measure, to avoid 
leaking information about the device or user -- but the information is always 
there.

I can get at the file through remote inspector:

{code}
› f = document.forms[0]
  ▶ <form>​…​</form>​
› fe = f.children[0]
  <input type=​"file">​
› fe.value
  "C:\fakepath\image%3A2438"
› fe.files[0]
  ▼ File {webkitRelativePath: "", lastModifiedDate: Fri May 09 2014 14:53:33 
GMT-0400 (EDT), name: "image%3A2438", type: "", size: 8079…}
    ▶ lastModifiedDate: Fri May 09 2014 14:53:33 GMT-0400 (EDT)
      name: "image%3A2438"
      size: 8079
      type: ""
      webkitRelativePath: ""
    ▶ __proto__: File
{code}

"{{C:\fakepath\image%3A2438}}" is amusing, and is what makes me think that 
Chrome is deliberately obscuring the filenames: just making up *something* 
using the last filename component that looks like a full path.

> File input element not opening file picker in Android 4.4
> ---------------------------------------------------------
>
>                 Key: CB-5294
>                 URL: https://issues.apache.org/jira/browse/CB-5294
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.1.0
>         Environment: Android 4.4.2, partially fixed in Android 4.4.3
>            Reporter: Paul Kane
>            Assignee: Ian Clelland
>
> The file input field doesn't respond when clicked/tapped in Android 4.4. 
> Works fine in previous Android versions. This is regardless of whether the 
> Target Level is set to 18 or 19.
> To reproduce, I created a fresh Cordova 3.1.0 project for Android. The only 
> modification I made to the default (placeholder) index.html file was adding a 
> <form> element with a single <input type="file"> element inside. Clicking the 
> "Choose File" button does nothing. No Logcat output or errors. Normally at 
> this point a dialogue would open allowing me to select an image from the 
> gallery or take a picture, which is what happens in older Android versions.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to