Transfering Data from a Server to an Android Mobile Application: A Case Study

Authors

  • Ricardo Anacleto GECAD–Knowledge Engineering and Decision Support Research Center, at School of Engineering of the Polytechnic Institute of Porto, Rua Dr. António Bernardino de Almeida, 431, 4200-072 Porto, Portugal
  • Lino Figueiredo GECAD–Knowledge Engineering and Decision Support Research Center, at School of Engineering of the Polytechnic Institute of Porto, Rua Dr. António Bernardino de Almeida, 431, 4200-072 Porto, Portugal
  • Ana Almeida GECAD–Knowledge Engineering and Decision Support Research Center, at School of Engineering of the Polytechnic Institute of Porto, Rua Dr. António Bernardino de Almeida, 431, 4200-072 Porto, Portugal
  • Paulo Novais CCTC–Computer Science and Technology Center, at University of Minho, Campus de Gualtar, 4710-057 Braga, Portugal

DOI:

https://doi.org/10.11113/jt.v63.1959

Keywords:

Client-server communication, data serialization, parsers, mobile applications, performance, protocol buffers, algorithms

Abstract

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

2013-07-15

Issue

Section

Science and Engineering

How to Cite

Transfering Data from a Server to an Android Mobile Application: A Case Study. (2013). Jurnal Teknologi (Sciences & Engineering), 63(3). https://doi.org/10.11113/jt.v63.1959