Hi
Which version you are using? I am not sure where you download the "last
embedded core".
Before Crosswalk 22, there is a default file chooser, so you don't need
override openFileChooser.
Since Crosswalk 23, please see the usage sample here
https://crosswalk-project.org/jira/browse/XWALK-7271
One question, why you load nothing? "xWalkWebView.load("", null);"
Best Regards :)
Xiaofeng Zhang
From: Crosswalk-help
[mailto:[email protected]] On Behalf Of Wilmar
Martinez
Sent: Tuesday, October 11, 2016 5:36 AM
To: [email protected]
Subject: [Crosswalk-help] Problem with file input in my website
good afternoon,
I have a problem with the file input in my website, not show dialog, I had read
several text but not have the solution, I am using the last embedded core.
public class MainActivity extends AppCompatActivity {
private XWalkView mXWalkView;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
XWalkView xWalkWebView = (XWalkView) findViewById(R.id.xwalkWebView);
xWalkWebView.load("", null);
mXWalkView.setUIClient(new XWalkUIClient(mXWalkView) {
@Override
public void openFileChooser(XWalkView view, final ValueCallback
uploadFile, String
acceptType, String capture) {
uploadFile.onReceiveValue(null);
}
});
}
}
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help