How to use Android to upload file to server with a key?
<p>I have a server written by Django, and now I have a demand to upload
file to this server. I used to do it on iPhone using ASIHttpRequest,
the method is pretty straightforward:</p>

<p>[request setFile:self.latestFilePath forKey:@"IPHONEFILE"];</p>

<p>However, after I switched to Android, I tried to look for similar
method without any luck.</p>

<p>I am aware of two methods to send data to server, one is
BasicNameValuePair with key-value pair, which is not suitable for my
program since the file is huge. Another method is InputStreamEntity,
but I don't know how to add a key to it.</p>

<p>Any hint or suggestion would be appreciated!</p>
