How to communicate the data with an internet server from an android application?
If data is less - use name spaces, if data is heavy use - xml.xml is faster than json. so parsing and loading will be fast.
If data is less - use name spaces, if data is heavy use - json. json is faster than xml. so parsing and loading will be fast.
Option 1 is true, and many web sites and services have more support to xml compared to json.
option 2 is true, and many of the web sites and services including twitter, facebook, google, linkedin uses json than xml.
for small data - use name spaces, for heavy structured data - use json. json is faster than xml. json has advantage over xml with java script which is sued to update client side web page fastly.
Back To Top