将json格式的数据写到一个文件中,然后将文件上传到服务器,写框架之前加一个依赖compile 'com.squareup.okhttp3:okhttp:3.7.0'
https://github.com/qndroid/CommonLibrary
https://github.com/qndroid/CommonLibrary/blob/master/CommonHttpLibrary/src/com/okhttp/