Quote:
Originally Posted by cjpearl
A question. What would be the best way to incorporate images? It doesn't look like I can easily do that in XML, unless maybe I encode it (i.e. base-64) server-side, send it as XML, and then decode it on the device?
|
I would think you could do it with multipart content where the image is included in a part with 'Content-Transfer-Encoding: binary' and is therefore not base64 encoded.
I am not doing this exact thing, but I am doing the reverse in a sense, where I am submitting an HTTP POST to my server that contains multipart content, where one part is audio data. I am just sending that in raw form in a section that uses binary for Content-Transfer-Encoding. If you are in control of the code both sending and receiving I don't see why you would need to do base64 encoding.