Send BitMap object (and some other strings) via POST to a server
how would i go about sending a BitMap objects (and some other strings, such as na开发者_开发技巧me = "kevin") to a server? Does anyone have any examples on how to do this?
I assume that you mean an image in bitmap format.
Just encode the bytes with Base64Encoder and pass it as just another POST parameter, and use Base64Decoder to get the original contents back.
精彩评论