OfflineManager: A Lightweight Approach for Managing Offline Status in Mobile Applications

  • Sidarta Fernandes UFSCar
  • Matheus G. Lucena IFSP
  • Luis P. Pegurin UFSCar
  • Juliano Z. Blanco IFSP
  • Daniel Lucrédio UFSCar

Resumo


Most current mobile applications work with a back-end server over the Internet. But in many occasions network connectivity is not available and a proper offline treatment must be provided. This question can be solved in many ways, such as storing requests for later attempts, caching data and full client-server synchronization, among others. There are solutions both in the industry and academia, however two challenges remain: to solve the problem in a way that covers many software layers, including interface and usability issues; and to support different kinds of treatment to the absence of connection. This paper presents a mobile library built to help developers provide offline functionality on their apps, while trying to solving these two challenges. To do that, the library, called OfflineManager, offers different ways to treat each call to the back-end, both in the case of missing Internet connection and unavailable server. It also offers feedback messages, and a point of interaction via pop-up messages. To evaluate the library, four evaluation methods were used, including experts, developers, users and well-known heuristics. The collected evidence indicates that the library achieves its goal to overcome the two presented challenges, and also uncovers some problems and points for improvement.

Palavras-chave: Mobile development, user studies, mobile connectivity
Publicado
03/10/2022
FERNANDES, Sidarta; LUCENA, Matheus G.; PEGURIN, Luis P.; BLANCO, Juliano Z.; LUCRÉDIO, Daniel. OfflineManager: A Lightweight Approach for Managing Offline Status in Mobile Applications. In: SIMPÓSIO BRASILEIRO DE COMPONENTES, ARQUITETURAS E REUTILIZAÇÃO DE SOFTWARE (SBCARS), 16. , 2022, Uberlândia. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2022 . p. 30–39.