Sending images using Http Post

Posted by primal on Stack Overflow See other posts from Stack Overflow or by primal
Published on 2010-05-29T17:19:05Z Indexed on 2010/05/29 17:22 UTC
Read the original article Hit count: 176

Filed under:
|
|

I want to send an image from the android client to the Django server using Http Post. The image is chosen from the gallery. At present, I am using list value name Pairs to send the necessary data to the server and receiving responses from Django in JSON. Can the same approach be used for images (with urls for images embedded in JSON responses)?

Also which of, accesssing images remotely without downloading them from the server or downloading and storing them in a Bitmap array and using them locally is a better method? The images are few in number (<10) and small in size (50*50 dip).

Any tutorial to tackle these problems would be much appreciated.

© Stack Overflow or respective owner

Related posts about android

Related posts about django