0

Android for Ksoap2, upload photo

view story
linux-howto

http://stackoverflow.com – As part of my project I need to upload an image to the server. In the server part I have a web service that will accept byte array and converting in to image. In my client part(Android + ksoap2) I converted the image to byte[] array using Base64 encoding. dont upload photo.... Android main java public class DataHandlerSoapActivity extends Activity { private String SOAP_ACTION="http://tempuri.org/savaPhoto1"; //"http://tempuri.org/forTest"; private String METHOD_NAME="savaPhoto1"; private String NAMESPACE="http://tempuri.org/"; //"http://tempuri.org/"; private final String (HowTos)