参考:http://blog.csdn.net/nrs12345/article/details/18358865
1 写http客户端一定要先约定好编码格式。
2 在HttpURLConnection post时,flush后建立连接,getInputstream时提交数据。