I am new in android.I am suffered from last two days.I have researched lot but i didn't get post file redirect to url.I have implimented post data rediect on url.But I am not getting that how to directly send file on url. I have implimented this
//This is the section of code that fixes redirects to external apps
String postData="writeanystringhere";
webView.setWebViewClient( new WebViewClient(){
@Override public boolean shouldOverrideUrlLoading(WebView view, String url){
return false; } });
mWebView1.postUrl("http://weburl.com/?module=server&do=test", EncodingUtils.getBytes(postData, "BASE64"));
so i need help how to send file like this on url.**Can i post file through this?**which method will be used at the place of EncodingUtils.getBytes().