I created an android webview for my website all was going fine only for me to notice that filechooser was not opening in android versions less than 5.0... After struggling for days, and trying so many things like solutions to SO questions 28600165 and 23568792 many other bunch of stuff online... nothing worked out(I bet you all of them are a waste of time). I later found it's a bug in older android versions and there's no real workaround like in this github issue No workaround for filechooser bug for 4.4.1 and 4.4.2 ... But I am able to upload files on all android versions using FireFox for android even Chrome... How come the HTML input type file works with FireFox webviews despite the bug in these particular versions of android... Is it possible for me to power my webviews with FireFox code since it's opensource if yes how easy is that and how effective will it be.... I will also appreciate guidelines on how to go about this, with an example if possible . thanks in advance.
11
-
1Not sure about firefox but you can try Crosswalk embedding API for android. crosswalk-project.org --- crosswalk-project.org/documentation/apis/embedding_api.htmlTasos– Tasos2016-08-18 00:53:02 +00:00Commented Aug 18, 2016 at 0:53
-
@Tasos thanks let me check that out.Fenn-CS– Fenn-CS2016-08-18 10:27:41 +00:00Commented Aug 18, 2016 at 10:27
-
Skip what they say in the installation part here crosswalk-project.org/documentation/android/… -- you can add dependency in the Gradle -- stackoverflow.com/questions/28781803/… -- change the version numbers to the latest -- curent ( 20.50.533.12 ) -- crosswalk-project.org/documentation/downloads.php -- go back to the get started guide here crosswalk-project.org/documentation/android/… -- carry on from step ( Add code to integrate the webview ) -- you be up and running in 5 minutesTasos– Tasos2016-08-18 13:21:27 +00:00Commented Aug 18, 2016 at 13:21
-
Hello @Tasos I ran into problems with the File picker of crosswalk still the issue reported crosswalk-project.org/jira/browse/XWALK-2972 and a fix here github.com/crosswalk-project/crosswalk/pull/2647 but the fix was rejected though it works I want to apply the fix personally for my project any ideas on that? thanks for your support...Fenn-CS– Fenn-CS2016-08-19 12:48:24 +00:00Commented Aug 19, 2016 at 12:48
-
what files are you trying to access??Tasos– Tasos2016-08-19 13:11:44 +00:00Commented Aug 19, 2016 at 13:11
|
Show 6 more comments