Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/3428658.3430976acmconferencesArticle/Chapter ViewAbstractPublication PageswebmediaConference Proceedingsconference-collections
research-article

A Generative Approach for Android Sensor-based Applications

Published: 30 November 2020 Publication History

Abstract

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.

References

[1]
Z. Aarab, R. Saidi, and M. D. Rahmani. 2014. Towards a Framework for Context-Aware Mobile Information Systems. In 2014 Tenth International Conference on Signal-Image Technology and Internet-Based Systems. 694--701. https://doi.org/10.1109/SITIS.2014.89
[2]
John W Backus. 1959. The syntax and semantics of the proposed international algebraic language of the Zurich ACM-GAMM conference. Proceedings of the International Comference on Information Processing, 1959 (1959).
[3]
Alan F Blackwell, Carol Britton, A Cox, Thomas RG Green, Gada Kadoda, MS Kutar, Martin Loomes, Chrystopher L Nehaniv, Marian Petre, et al. 2001. Cognitive dimensions of notations: Design tools for cognitive technology. In International Conference on Cognitive Technology. Springer, 325--341.
[4]
G. Blair, N. Bencomo, and R. B. France. 2009. [email protected]. Computer 42, 10 (Oct 2009), 22--27. https://doi.org/10.1109/MC.2009.326
[5]
L. P. da Silva and F. Brito e Abreu. 2014. Model-driven GUI generation and navigation for Android BIS apps. In 2014 2nd International Conference on Model-Driven Engineering and Software Development (MODELSWARD). 400--407.
[6]
Florian Daniel, Maristella Matera, Elisa Quintarelli, Letizia Tanca, and Vittorio Zaccaria. 2018. Context-aware access to heterogeneous resources through on-the-fly mashups. In International Conference on Advanced Information Systems Engineering. Springer, 119--134.
[7]
Rafael Nascimento De Souza. 2018. UFAHAMU: Um Framework para Aplicações Móveis Android Conscientes de Contexto. Master's thesis. Federal University of Pará.
[8]
Anind K. Dey. 2001. Understanding and Using Context. Personal Ubiquitous Comput. 5, 1 (Jan. 2001), 4--7.
[9]
Paulo A. S. Duarte, Felipe M. Barreto, Francisco A. A. Gomes, Windson Viana, and Fernando A. M. Trinta. 2015. CRITiCAL: A Configuration Tool for Context Aware and mobiLe Applications. In 2015 IEEE 39th Annual Computer Software and Applications Conference, Vol. 2. 159--168.
[10]
Janne Föhr. 2019. Context-awareness through Google Awareness API. https://lutpub.lut.fi/handle/10024/159360
[11]
Julien Gedeon, Nicolás Himmelmann, Patrick Felka, Fabian Herrlich, Michael Stein, and Max Mühlhäuser. 2018. vStore: A context-aware framework for mobile micro-storage at the edge. In International Conference on Mobile Computing, Applications, and Services. Springer, 165--182.
[12]
Constant Komla Likudie. 2018. Implementation of a web-based code generator for the android Mobile platform. Ph.D. Dissertation. Ashesi University.
[13]
Marcio E. F. Maia, Andre Fonteles, Benedito Neto, Romulo Gadelha, Windson Viana, and Rossana M. C. Andrade. 2013. LoCCAM - Loosely Coupled Context Acquisition Middleware. In Proceedings of the 28th Annual ACM Symposium on Applied Computing (Coimbra, Portugal) (SAC '13).
[14]
GO Ortiz, Juan Boubeta-Puig, and David Corral-Plaza. 2018. Air4People: a smart air quality monitoring and context-aware notification system. Journal of Universal Computer Science 24, 7 (2018), 846--863.
[15]
Nearchos Paspallis. 2019. An MDD-based method for building context-aware applications with high reusability. Journal of Software: Evolution and Process 31, 11 (2019), e2200.
[16]
Ismayle De Sousa Santos, Erick Santos, Rossana Andrade, and Pedro Neto. 2018. CONTroL: Context-Based Reconfiguration Testing Tool. In IX Tools Session of CBSoft 2018.
[17]
Blase Ur, Elyse McManus, Melwyn Pak Yong Ho, and Michael L Littman. 2014. Practical trigger-action programming in the smart home. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems. 803--812.
[18]
Aku Visuri, Niels van Berkel, Tadashi Okoshi, Jorge Goncalves, and Vassilis Kostakos. 2019. Understanding smartphone notifications' user interactions and content importance. International Journal of Human-Computer Studies 128 (2019), 72--85.
[19]
O. Yurur, C. H. Liu, Z. Sheng, V. C. M. Leung, W. Moreno, and K. K. Leung. 2016. Context-Awareness for Mobile Sensing: A Survey and Future Directions. IEEE Communications Surveys Tutorials 18, 1 (Firstquarter 2016), 68--93. https://doi.org/10.1109/COMST.2014.2381246

Cited By

View all

Index Terms

  1. A Generative Approach for Android Sensor-based Applications

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    WebMedia '20: Proceedings of the Brazilian Symposium on Multimedia and the Web
    November 2020
    364 pages
    ISBN:9781450381963
    DOI:10.1145/3428658
    © 2020 Association for Computing Machinery. ACM acknowledges that this contribution was authored or co-authored by an employee, contractor or affiliate of a national government. As such, the Government retains a nonexclusive, royalty-free right to publish or reproduce this article, or to allow others to do so, for Government purposes only.

    Sponsors

    In-Cooperation

    • SBC: Brazilian Computer Society
    • CNPq: Conselho Nacional de Desenvolvimento Cientifico e Tecn
    • CGIBR: Comite Gestor da Internet no Brazil
    • CAPES: Brazilian Higher Education Funding Council

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 30 November 2020

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Android
    2. Context Awareness
    3. DSL
    4. Google Awareness
    5. MDE

    Qualifiers

    • Research-article
    • Research
    • Refereed limited

    Conference

    WebMedia '20
    Sponsor:
    WebMedia '20: Brazillian Symposium on Multimedia and the Web
    November 30 - December 4, 2020
    São Luís, Brazil

    Acceptance Rates

    WebMedia '20 Paper Acceptance Rate 34 of 87 submissions, 39%;
    Overall Acceptance Rate 270 of 873 submissions, 31%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 51
      Total Downloads
    • Downloads (Last 12 months)6
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 06 Feb 2025

    Other Metrics

    Citations

    Cited By

    View all

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media