A: 

not sure what went wrong, but you can follow redirect yourself. take the Location header out and make a new connection to it.

irreputable
+2  A: 

A few months ago I was trying to do the exact same thing!

Basically, don't use HttpURLConnection. Instead, use HttpClient and HttpGet in the org.apache.http package which are part of the Android SDK.

Unfortunately I don't have my source code to provide an example, but hopefully that'll set you in the right direction.

Dave
Yeah I am sure this is a solved problem... and your approach is the one I have taken, with the addition of `MultipartEntity`. Still, I have no idea why the code above does not work.
Peter Sankauskas