Server to Mobile Device Communication: A Case Study

Develop a client-server application for a mobile environment can bring many challenges because of the mobile devices limitations. So, in this paper is discussed what can be the more reliable way to exchange information between a server and an Android mobile application, since it is important for use...

Full description

Bibliographic Details
Main Author: Anacleto, Ricardo (author)
Other Authors: Figueiredo, Lino (author), Almeida, Ana (author), Novais, Paulo (author)
Format: bookPart
Language:eng
Published: 2015
Subjects:
Online Access:http://hdl.handle.net/10400.22/5915
Country:Portugal
Oai:oai:recipp.ipp.pt:10400.22/5915
Description
Summary:Develop a client-server application for a mobile environment can bring many challenges because of the mobile devices limitations. So, in this paper is discussed what can be the more reliable way to exchange information between a server and an Android mobile application, since it is important for users to have an application that really works in a responsive way and preferably without any errors. In this discussion two data transfer protocols (Socket and HTTP) and three serialization data formats (XML, JSON and Protocol Buffers) were tested using some metrics to evaluate which is the most practical and fast to use.