英文摘要 |
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. |