Skip to main content
Participant
January 18, 2015
Question

StageWebView In Android, HTML input file not work~!

  • January 18, 2015
  • 3 replies
  • 3467 views

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 has been closed for replies.

3 replies

Participant
June 6, 2020

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

Participating Frequently
August 27, 2015

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!

chris.campbell
Community Manager
Community Manager
January 21, 2015

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

Participant
May 8, 2018

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.