Tarik Ponciano, D. Tabosa, Windson Viana, P. A. S. Duarte, Rafael Carmo
{"title":"基于Android传感器的应用生成方法","authors":"Tarik Ponciano, D. Tabosa, Windson Viana, P. A. S. Duarte, Rafael Carmo","doi":"10.1145/3428658.3430976","DOIUrl":null,"url":null,"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.","PeriodicalId":350776,"journal":{"name":"Proceedings of the Brazilian Symposium on Multimedia and the Web","volume":"39 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-11-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"A Generative Approach for Android Sensor-based Applications\",\"authors\":\"Tarik Ponciano, D. Tabosa, Windson Viana, P. A. S. Duarte, Rafael Carmo\",\"doi\":\"10.1145/3428658.3430976\",\"DOIUrl\":null,\"url\":null,\"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.\",\"PeriodicalId\":350776,\"journal\":{\"name\":\"Proceedings of the Brazilian Symposium on Multimedia and the Web\",\"volume\":\"39 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2020-11-30\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the Brazilian Symposium on Multimedia and the Web\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3428658.3430976\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the Brazilian Symposium on Multimedia and the Web","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3428658.3430976","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
A Generative Approach for Android Sensor-based Applications
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.