Hi!
iam about to call a service from my server. Should I use Json or Soap?
My service is in asp.net
Are there not any packages in android that has to do with the service connections?
Hi!
iam about to call a service from my server. Should I use Json or Soap?
My service is in asp.net
Are there not any packages in android that has to do with the service connections?
IMHO, a REST interface encoded in JSON will be easier in Android, since there are enough classes built in to handle that. SOAP requires a third-party JAR (e.g., kSOAP2).
On how to use JSON in Android http://stackoverflow.com/questions/2818697/
You could use Http Client and MultiPart Entities for sending images and large text files. http://stackoverflow.com/questions/2935946/
Json will also be more efficient than soap as well. Check out the Google Io videos from2009. There is a great talk about optimizing apps on android and it specifically deals worth this topic...
JSON is always easier...it's much easier to parse and doesn't need a DTD..