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

Ricardo Anacleto, Lino Figueiredo, Ana Almeida, Paulo Novais

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.


Keywords


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

Full Text:

PDF

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.




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

Refbacks

  • There are currently no refbacks.


  

Copyright © 2012 Penerbit UTM Press, Universiti Teknologi Malaysia.
Disclaimer : This website has been updated to the best of our knowledge to be accurate. However, Universiti Teknologi Malaysia shall not be liable for any loss or damage caused by the usage of any information obtained from this web site.
Best viewed: Mozilla Firefox 4.0 & Google Chrome at 1024 × 768 resolution.