Sending mixed structured data over network
<p>As part of my first shot at network programming, I'm trying to figure out how to send a custom data structure over the internet. Specifically, the structure will have two images, plus a few bits of textual/numerical data to go with them. The server is written with PHP and the client (an Android app) is Java.</p>

<p>After researching the subject, I've come away somewhat confused. It looks like encoding/decoding a MIME message is the most appropriate way, but while I found a PHP library to do the encoding, I can't find a free Java library or Android SDK feature for the other side. Is there something I've missed? Or is there a better way to do this?</p>

<p>Also, at some point I may want to port this app to iOS, so whatever method is used should work there too.</p>

<p>Thanks in advance for your help!</p>
