{"title":"ASAP: Firefox OS之装置自动化状态调整APP ASAP","authors":"黃詩豪, 林朝興, 洪健哲, 吳承翰, 洗鈺淇","doi":"10.6159/IJSE.2015.(5-3).03","DOIUrl":null,"url":null,"abstract":"Most of applications (APP) for automatic status adjustment on mobile phone have been implemented for Android and IOS systems. In this work, we specifically develop the APP called ASAP to import such a functionality to the promising Firefox OS. Firefox OS has been developed by Mozilla in recent years, using web APIs to directly communicate with the core of the operating system and the underneath hardware of a mobile phone. In ASAP, the automatic status adjustment is achieved by system monitoring with scenario scripts. When the condition of a certain script is met, the corresponding pre-defined activities are executed to instantly alter the status of a mobile phone. There are six conditions and six activities defined in the scenario, and the satisfaction of one condition can trig multiple activities to execute. In addition to listening the activity events, we also use a timer to periodically scan the pre-defined scenario scripts to trig the activities. The experimental results show that the ASAP can successfully trig the corresponding activities when a pre-defined scenario is detected.","PeriodicalId":14209,"journal":{"name":"International Journal of Science and Engineering","volume":"5 1","pages":"23-33"},"PeriodicalIF":0.0000,"publicationDate":"2015-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"ASAP: Firefox OS之裝置自動化狀態調整APP ASAP\",\"authors\":\"黃詩豪, 林朝興, 洪健哲, 吳承翰, 洗鈺淇\",\"doi\":\"10.6159/IJSE.2015.(5-3).03\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Most of applications (APP) for automatic status adjustment on mobile phone have been implemented for Android and IOS systems. In this work, we specifically develop the APP called ASAP to import such a functionality to the promising Firefox OS. Firefox OS has been developed by Mozilla in recent years, using web APIs to directly communicate with the core of the operating system and the underneath hardware of a mobile phone. In ASAP, the automatic status adjustment is achieved by system monitoring with scenario scripts. When the condition of a certain script is met, the corresponding pre-defined activities are executed to instantly alter the status of a mobile phone. There are six conditions and six activities defined in the scenario, and the satisfaction of one condition can trig multiple activities to execute. In addition to listening the activity events, we also use a timer to periodically scan the pre-defined scenario scripts to trig the activities. The experimental results show that the ASAP can successfully trig the corresponding activities when a pre-defined scenario is detected.\",\"PeriodicalId\":14209,\"journal\":{\"name\":\"International Journal of Science and Engineering\",\"volume\":\"5 1\",\"pages\":\"23-33\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2015-09-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"International Journal of Science and Engineering\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.6159/IJSE.2015.(5-3).03\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Science and Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.6159/IJSE.2015.(5-3).03","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Most of applications (APP) for automatic status adjustment on mobile phone have been implemented for Android and IOS systems. In this work, we specifically develop the APP called ASAP to import such a functionality to the promising Firefox OS. Firefox OS has been developed by Mozilla in recent years, using web APIs to directly communicate with the core of the operating system and the underneath hardware of a mobile phone. In ASAP, the automatic status adjustment is achieved by system monitoring with scenario scripts. When the condition of a certain script is met, the corresponding pre-defined activities are executed to instantly alter the status of a mobile phone. There are six conditions and six activities defined in the scenario, and the satisfaction of one condition can trig multiple activities to execute. In addition to listening the activity events, we also use a timer to periodically scan the pre-defined scenario scripts to trig the activities. The experimental results show that the ASAP can successfully trig the corresponding activities when a pre-defined scenario is detected.