Android : upload Image and JSON using MultiPartEntityBuilder
I try to upload data to server, my data containing multiple images and large JSON , before it, I Try to send with convert image to string using base64 and send my another data and image that I've convert before with JSON , but I face Problem OutOfMemory here, so I read one of solutions that said I must to try using MultipartEntityBuilder . I still confusing and not understand how to do it with MultiPartEntityBuilder , Is there anyone can help me the way to do it with MultiPartEntityBuilder ? this is my code : try{ //membuat HttpClient //membuat HttpPost HttpPost httpPost= new HttpPost(url);