We implemented most of our system in Python. For
UI exploration, we make use of the source code of the
AppsPlayground tool [10]. However, the existing version of
the tool is unable to run on current versions of Android,
and we therefore reimplemented the system to work on
current Android versions with the same heuristics as are
described in the AppsPlayground paper. Furthermore, instead
of using HiearchyViewer for getting the current UI hierarchy
of the application, we used UIAutomator, which is based on
the accessibility service of Android. This had a significant
and positive effect on the speed of execution. The graphics
algorithms used for button detection were provided by the
OpenCV library and appropriate thresholds were chosen after
repeated testing.