Skip to main content
Participant
Jan 18, 2015 11:14 AM UTC
Question

StageWebView In Android, HTML input file not work~!

StageWebView in ios, HTML input file work fine,

But in Android, It Click don't alert ImagePicker.

I test in browser,HTML is work,

so i think,StageWebView In Android don't Achieve WebChromClient.openFileChooser?

My Android System version is 4.2.1,

ADOBE AIR version is 16.0.

Please help me, Thanks~!

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Participant
Jun 6, 2020 10:31 PM UTC

i fix this issue here https://youtu.be/jA9TCP6Y7uU

Translate
Participating Frequently
Aug 27, 2015 9:19 PM UTC

Actually, the issue is that the <input type="file"> component for file uploads doesn't work in Android webviews anymore! It simply does nothing when you click it, regardless if you use Adobe Air or a native app. Google deliberately blocked it in Android 4.2.

I have spent a lot of time recently coping with this problem. The solution for me was to use this ANE, released last week, which replaces the StageWebView and supports input type file fine (tested on android and IOS): https://github.com/myflashlab/webView-ANE

Hope this helps!

Translate
chris.campbell
Legend
Jan 21, 2015 1:57 AM UTC

Could you please open a new bug report on this at http://bugbase.adobe.com?  When adding the bug, please include a small sample project so we can quickly reproduce the issue.  Once added, let me know the bug number and I'll follow up internally.

Thanks,

Chris

Translate
Participant
May 8, 2018 4:39 PM UTC

Hello Chris,

I have encounter same problem. I have submit a bug report to bug base. You can go to https://tracker.adobe.com/#/view/AIR-4198646​ for the bug detail. Hope you can look into this problem since this issue will affect a lot of app developers.

Thank you.

Translate