posted 18 years ago
I am beginner in J2ME. I use ksoap, I want to receive an image as byte array. I cant understood like one the SoapPrimitive used. you could help me to write the SOURCE code
thank you
Excuse me for my English
SoapObject client = new SoapObject(url,"testimage");
HttpTransport ht = new HttpTransport(url,"testimage");
ClassMap classMap = new ClassMap (true);
ht.setClassMap (classMap);
imageString = new SoapPrimitive
(Soap.ENC, "base64", Base64.decode());
byte [] a = new byte[l024];
a = Base64.decode(imageString);
THANKS THANKS