Results 1 to 2 of 2

Thread: Send one or more images through JSON Web Service

  1. #1
    Join Date
    May 2012
    Posts
    9

    Default Send one or more images through JSON Web Service

    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. 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?

  2. #2
    Join Date
    Nov 2010
    Posts
    175

    Default

    The Spring for Android Samples project includes an example of POSTing an image using RestTemplate.

    https://github.com/SpringSource/spri...aActivity.java
    Roy Clarkson
    Spring Mobile Projects Lead

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •