A Generative Approach for Android Sensor-based Applications

  • Tarik Ponciano UFC
  • Davi Tabosa UFC
  • Windson Viana UFC
  • Paulo Duarte UFC
  • Rafael Carmo UFC


As smartphones increased in popularity, mobile devices became a crucial technological element of our time. Beyond the end-user platform, smartphones have several sensors to capture and characterise the user's context. Current Context-Aware Mobile (CAM) applications use this data to improve user experience by filtering data, services, and, even, adapting their behaviour. The development of CAM applications can be challenging for mobile developers, due to the diversity of mobile hardware ecosystem and sensor APIs' complexity. This paper presents EasyContext, a visual tool for designing and generating contextual rules for mobile devices, using the Google Awareness API as its contextual information provider. Mobile developers specify what to capture and when to react to context-changes in the visual tool and these contextual rules are exported to Android projects. We evaluated our approach with developers, which were selected to participate in a quasi-experiment. The experiment involves developing two mobile applications using both EasyContext and Google Awareness API. Preliminary results show that it is possible to build applications with fewer lines of code compared to the Google Awareness API. According to the developers, the proposed approach has better readability and makes it easier to design contextual rules.
Palavras-chave: DSL, MDE, Context Awareness, Google Awareness, Android
Como Citar

Selecione um Formato
PONCIANO, Tarik; TABOSA, Davi; VIANA, Windson; DUARTE, Paulo; CARMO, Rafael. A Generative Approach for Android Sensor-based Applications. In: SIMPÓSIO BRASILEIRO DE SISTEMAS MULTIMÍDIA E WEB (WEBMEDIA), 1. , 2020, Evento Online. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2020 . p. 17-24.

Artigos mais lidos do(s) mesmo(s) autor(es)

1 2 > >>