Implementation of Simulation Control Automation Tool Based on Android Accessibility Service
2021
With the development of Internet plus era and the increasing popularity of mobile phone in China, people still use the traditional finger touch mode. However, in the face of some application scenarios with high repetition frequency, an automatic control method can be built to reduce repetitive operation of users. This paper introduces how to solve the problem of automatic control process for Android operating system, and provides a complete solution for the design and construction of automation tools. Starting from the wake-up of the device, the system automatically unlocks, and then uses intent to transfer parameters to start the target application and specify the activity. After entering the specified application interface, the tool will scan the XML information of the interface layout drawn by the system, and accurately capture the view control through the regular matching of attribute values and other information of the control. Finally, the control object can be operated by simulating events, so as to achieve the same effect as the user operation. In addition, the automatic control tool obtains the control information accurately through OCR identification, and realizes the multithreading cycle operation through the delay start function, which improves the operation efficiency of the tool automation degree and the user operation efficiency of the smart phone.
Keywords:
- Correction
- Source
- Cite
- Save
- Machine Reading By IdeaReader
1
References
0
Citations
NaN
KQI