1

I'm developing an Android 3.1 application using Spring Framework for Android 1.0.0 RC1.

I have developed a JSON WCF web service with C# and .Net Framework 4.0. I know how to send objects, strings, integers, etc. but I don't know how to POST an image from Android to web service.

How can I post an image?

4

1 回答 1

0

您可以使用原始编程模型将任意数据发送到 WCF 服务 - 将 aStream作为参数。http://blogs.msdn.com/b/carlosfigueira/archive/2008/04/17/wcf-raw-programming-model-receiving-arbitrary-data.aspx上的帖子有更多关于此的信息。

于 2012-05-25T05:05:38.390 回答