Android Question a check accessibilityservices question

yhyzhj

Member
i write a app(name: test) about accessibilityservices. and i write a app(name: check) to check accessibilityservices if enable/disable. it can check others app. but cant check the app(name: test). test.apk(packagename: com.Test, accessibilityservices: Starter)
check.app code:
B4X:
Sub CheckIfServiceIsEnabled
    If acs.IsAccessibilityServiceEnabled("com.Test/.Starter")  = False Then 'insert package-name and name of your service
        CallSub2(Main,"IsTheAccessibilityServiceEnabled", False)
        CallSub2(Main,"SetCheckbox", False)
    Else
        CallSub2(Main,"IsTheAccessibilityServiceEnabled", True)
        CallSub2(Main,"SetCheckbox", True)
    End If
End Sub
 
Top