CodePudding user response:
The building Lord, you find a way, I also have a such a demand,CodePudding user response:
1163574146 this is my QQ, this is my 1163574146 @qq.comCodePudding user response:
This should be the problem of a data structure, to clear up.CodePudding user response:
To my understanding is you want to upload multiple files, right?I done something like that, just like you said WeChat dynamic release, multiple picture upload,
I am using xutils upload,
Parameters param again to add multiple parameters, and then a uploaded,
Eg:
New AsyncTask() {
Protected Void doInBackground () {
For (what do you want to upload resources, traverse again) {
Param. AddBodyParameter (" field ", the file path);
}
}
Protected void onPostExecute (void result) {
Xutils. Send (post, url, param, callback)
.
}
}
Pure hand to play, general logic is such, now traverse again added to upload the file you want to add a parameter, then submit with respect to OK, the rest of the hands of the background,
I see? Don't understand can you give me a message
CodePudding user response:
Don't know what do you use the network framework, if is okhttp3 or Retrofit in our project, so I don't know is there any help to you