he ability for an
<code><a href="../../reference/android/accessibilityservice/AccessibilityService.html">AccessibilityService</a></code> to query the view
hierarchy, collecting information about the UI component that generated an event, and
its parent and children.  In order to do this, make sure that you set the
following line in your XML configuration:</p>
<pre>
android:canRetrieveWindowContent="true"
</pre>
<p>Once that's done, get an <code><a href="../../reference/android/view/accessibility/Accessibilit