vendredi 30 janvier 2015

button does not respond in Webview

Everything in the android web app is working as expected except the html file input fields coded as <input type="file" name="filn"/> in webpage.When i click on the button supposed to load the resources in which the files can be chosen from, it does not respond. Meanwhile in google browser, it works fine. My webview android code is as follows:



public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
webview =(WebView)findViewById(R.id.webView1);
webview.setWebViewClient(new WebViewClient());
webview .getSettings().setJavaScriptEnabled(true);
webview.loadUrl("website");
}


What can i do to make it work?





Aucun commentaire:

Enregistrer un commentaire