XML representation is difficult to parse. This translates into cost savings for both application developers (who need to subscribe to expensive networks for their web servers) and users (who has limited amount of bandwidth to use per subscription).Ģ. In the world of mobile applications, shaving a few bytes off the payload will dramatically improve the performance of applications, not to mention the reduction of data transferred over the expensive 3G and LTE wireless networks. The use of opening and closing tags add a lot of unnecessary weight to the payload. However, using XML as the medium for your data payload suffers from the following problems:ġ. One of the easiest ways for your application to connect to the outside world is to use web services.įor the past few years, XML web services have dominated the arena for web services, as XML was touted as the ubiquitous medium for data exchange. Unless you are writing a Hello World Android application, chances are your application would need to connect to the outside world to fetch some data, such as live currency exchange rates, weather information, records from databases, etc.
0 Comments
Leave a Reply. |