Skip to content Skip to sidebar Skip to footer

Event.getsource() Returns Null Accessibility In Android

I try to fill a EditText field by using a accessibility service like DashLane or some other apps which are using accessibility service. I am using an event view focused. When EditT

Solution 1:

You missed the meta tag in manifest file. just add.

       <meta-data android:name="android.accessibilityservice"
       android:resource="@xml/accessibility">

Solution 2:

Make sure android:canRetrieveWindowContent="true"

This worked for me. And this property can not be set by java code.

Post a Comment for "Event.getsource() Returns Null Accessibility In Android"