Transfering Data from a Server to an Android Mobile Application: A Case Study
DOI:
https://doi.org/10.11113/jt.v63.1959Keywords:
Client-server communication, data serialization, parsers, mobile applications, performance, protocol buffers, algorithmsAbstract
Nowadays, due to the incredible grow of the mobile devices market, when we want to implement a client-server applications we must consider mobile devices limitations. In this paper we discuss which can be the more reliable and fast way to exchange information between a server and an Android mobile application. This is an important issue because with a responsive application the user experience is more enjoyable. In this paper we present a study that test and evaluate two data transfer protocols, socket and HTTP, and three data serialization formats (XML, JSON and Protocol Buffers) using different environments and mobile devices to realize which is the most practical and fast to use.
References
Anacleto, R., N. Luz and L. Figueiredo. 2010. Personalized Sightseeing Tours Support Using Mobile Devices. Human-Computer Interaction (eds. Forbrig, P., Paternó, F. and Mark Pejtersen, A.). IFIP Advances in Information and Communication Technology. Springer Boston. ISBN 978-3-642-15230-6. Volume 332/2010. 301–304.
Harold, R. and M. Loukides. 2000. Java Network Programming. O’Reilly & Associates, Inc. Sebastopol. CA, USA.
Fielding, R. and R. Taylor. 2002. Principled Design of the Modern Web Architecture. ACM Transactions on Internet Technology (TOIT). 115–150.
Pautasso, C., O. Zimmermann and F. Leymann 2008. Restful Web Services Vs. Big Web Services: Making the Right Architectural Decision. Proceedings of the 17th international conference on World Wide Web. 805–814.
Pakin, S., V. Karamcheti and A. Chien. 1997. Fast messages: Efficient, Portable Communication for Workstation Clusters and MPPs. Concurrency IEEE. 5(2): 60–72.
Crockford, D. 2006. JSON: the Fat-free Alternative to XML. In Proc. of XML.
Google Inc. 2013. Protocol Buffer. http://code.google.com/apis/protocolbuffers/docs/overview.htm.
Inamura, H., G. Montenegro, R. Ludwig, A. Gurtov, and F. Khafizov. 2003. TCP Over Second (2.5 G) and Third (3G) Generation Wireless Networks. RFC3481.
Anacleto, A., L. Figueiredo, A. Almeida and P. Novais. 2013. Server to Mobile Device Communication: A Case Study. Ambient Intelligence - Software and Applications (eds.) Berlo, A., Hallenborg, K., RodrÃguez, J. M. Corchado, Tapia, I. and Novais, P. Springer - Series Advances in Intelligent Systems and Computing. ISBN 978-3-319-00565-2. 219: 79–86.
Downloads
Published
Issue
Section
License
Copyright of articles that appear in Jurnal Teknologi belongs exclusively to Penerbit Universiti Teknologi Malaysia (Penerbit UTM Press). This copyright covers the rights to reproduce the article, including reprints, electronic reproductions, or any other reproductions of similar nature.