Android Studio MultiPartEntityBuilder Error
问题 i am currently making an app to get the image from the camera and the gallery to upload to the PHP server. But there is something wrong with my app. I used two ways to do this task. The first one is to encode the image with Base64, then use the UrlEncodedFormEntity in the httppost. It worked. Then i used the MultiPartEntityBuilder. When i pressed the upload button, the app stopped. Can someone helped me out? My code is as below, it is a little messy. Sorry about that. package com.ascc.cloud;