开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜