This repository has been archived by the owner. It is now read-only.

Not able to select multiple files (images) in Android 4.2.2 on demos #840

Closed
ollyculverhouse opened this Issue May 14, 2013 · 27 comments

Comments

Projects
None yet
6 participants
@ollyculverhouse
Copy link

ollyculverhouse commented May 14, 2013

I am unable to select multiple files (in this case images) when using your demos on the site in stock Android 4.2.2.

I already use fineuploader for a site and am seeing the same behaviour.

@rnicholus

This comment has been minimized.

Copy link
Member

rnicholus commented May 14, 2013

Thanks for reporting this. I'll take a peek once I get my hands on an ICS device. Likely sometime today.

@rnicholus

This comment has been minimized.

Copy link
Member

rnicholus commented May 14, 2013

This doesn't appear to be an issue specific to Fine Uploader. If I create a page with nothing but <input type="file" multiple>, I still cannot select multiple files on an Android device. Hmm.

@rnicholus

This comment has been minimized.

Copy link
Member

rnicholus commented May 14, 2013

It looks like Android simply doesn't support the multiple attribute on file input elements. I could have sworn this worked at some point in the past. Maybe I'm imagining that though.

@ollyculverhouse

This comment has been minimized.

Copy link

ollyculverhouse commented May 14, 2013

Yea, me too, I'm sure it worked before...

@rnicholus

This comment has been minimized.

Copy link
Member

rnicholus commented May 14, 2013

Looking at support for HTML5 form features, it seems like this never should have worked officially.

@rnicholus

This comment has been minimized.

Copy link
Member

rnicholus commented May 14, 2013

This will be a documentation item for 3.6. I'll investigate a bit more as well, perhaps. I suppose it's possible that this attribute was unofficially supported in some builds of Android.

@ollyculverhouse

This comment has been minimized.

Copy link

ollyculverhouse commented May 14, 2013

OK, thanks. Bit of a shame seeing that big block of red on the HTML5 form support table.

Thanks anyway.

@ollyculverhouse

This comment has been minimized.

Copy link

ollyculverhouse commented May 14, 2013

Hmm, is that just for Android though, shouldn't Chrome for Android be a bit further along than that?

@rnicholus

This comment has been minimized.

Copy link
Member

rnicholus commented May 14, 2013

Certainly with the stock browser. Do you have Chrome installed on your device? I don't, at the moment.

@rnicholus

This comment has been minimized.

Copy link
Member

rnicholus commented May 14, 2013

Just found a device with Chrome, 1 sec...

@ollyculverhouse

This comment has been minimized.

Copy link

ollyculverhouse commented May 14, 2013

Looks like it doesn't. Just found this for Chromium: http://www.chromium.org/developers/web-platform-status/forms#TOC-Input-element

@rnicholus

This comment has been minimized.

Copy link
Member

rnicholus commented May 14, 2013

Verified - it doesn't.

Mobile browsers definitely present a new set of challenges and limitations. Android already doesn't handle chunking correctly, and I've had to add code in the past to deal with overly-aggressive (standards-violating) POST request caching in iOS6. Also, iOS6 does not allow camera access AND multiple file selection on the same file input element.

If Android simply doesn't support the multiple attribute, there is nothing I can do to allow the user to select multiple files in one dialog, unfortunately. I'll be sure to document this and possibly add some code to detect support for this to the features module.

@ghost ghost assigned rnicholus May 29, 2013

rnicholus added a commit that referenced this issue May 29, 2013

rnicholus pushed a commit that referenced this issue May 29, 2013

Ray Nicholus

rnicholus pushed a commit that referenced this issue May 29, 2013

@rnicholus rnicholus closed this May 29, 2013

@sayanb

This comment has been minimized.

Copy link

sayanb commented Mar 24, 2014

Hi Ray,

Just checking if you implemented this bit? "and possibly add some code to detect support for this to the features module".

Is there some documentation for this fix somewhere?

@rnicholus

This comment has been minimized.

Copy link
Member

rnicholus commented Mar 24, 2014

@sayanb I've added an entry to the FAQ. I'm unaware of a way to programmatically detect lack of support for a multiple attribute on a file input element at this time.

@bjornbos

This comment has been minimized.

Copy link

bjornbos commented Jun 26, 2014

Anyone found out if the multiple attribute will be part of the new Android L?

@rnicholus

This comment has been minimized.

Copy link
Member

rnicholus commented Jun 26, 2014

Looks like Nexus devs will have access to L starting today. If anyone uncovers any info on this, please post here.

@bjornbos

This comment has been minimized.

Copy link

bjornbos commented Jun 27, 2014

We have tested this on a Nexus and were very disappointed to find out we still couldn't select multiple images.

@rnicholus

This comment has been minimized.

Copy link
Member

rnicholus commented Jun 27, 2014

The nexus was running"L", correct?

On Fri, Jun 27, 2014 at 4:48 AM, Bjorn Bos notifications@github.com
wrote:

We have tested this on a Nexus and were very disappointed to find out we still couldn't select multiple images.

Reply to this email directly or view it on GitHub:
#840 (comment)

@bjornbos

This comment has been minimized.

Copy link

bjornbos commented Jun 27, 2014

Correct, on a Nexus 7

@rnicholus

This comment has been minimized.

Copy link
Member

rnicholus commented Jun 27, 2014

Well, perhaps support will ship with the final version of L.  I guess we will have to wait and see.

On Fri, Jun 27, 2014 at 7:09 AM, Bjorn Bos notifications@github.com
wrote:

Correct, on a Nexus 7

Reply to this email directly or view it on GitHub:
#840 (comment)

@rnicholus

This comment has been minimized.

@anbarasuthresnathan

This comment has been minimized.

Copy link

anbarasuthresnathan commented Mar 18, 2015

Anyone found the solution how to select the multiple file in android L

@rnicholus

This comment has been minimized.

Copy link
Member

rnicholus commented Mar 18, 2015

You will be able to do this once it is supported by the OS. There is no "workaround".

@ruinunes

This comment has been minimized.

Copy link

ruinunes commented Mar 29, 2016

Still unable to perform multiple uploads (with Chrome 43 and Android 5.0.2).

@rnicholus

This comment has been minimized.

Copy link
Member

rnicholus commented Mar 29, 2016

@ruinunes It is allegedly supported in Android 5.x, but only with the Chrome 49+ browser on Android. I haven't verified. Source: http://caniuse.com/#feat=input-file-multiple.

@ruinunes

This comment has been minimized.

Copy link

ruinunes commented Mar 29, 2016

Seems to be up to the android browser app developers to enable a parameter in the intent call to grab multiple files instead of a single file, from an available OS file picker. AFAIK, this ability is enabled since android 4.4.4 (although we run our android tablet from 5.0.2) but not implemented by the browsers I have tested.
Yep, the web says Chrome 49 solves this, albeit, for Chrome only. I will do an OS and and Chrome update to our samsung tablet update soon.

@ruinunes

This comment has been minimized.

Copy link

ruinunes commented Mar 30, 2016

Got multiple files upload this way on Android:
Hit your normal <input type='file' multiple> button. File picker appears: do a long press on a file to select it, then select other files. On the top bar an "Open" appears, select it and then multiple files are added to the files collection.

Note: this may work fine with file pickers integrated with the OS. Those who come from third-party apps (including bundled Samsung apps like Photos/Gallery or Microsoft OneDrive ) which offer custom file picker views may not work, because of their implementation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.