check if an accessibility service is activated

1

I'm creating a direct access to the accessibility settings in android, my goal is after activating the service is that my application comes back and no longer shows the activity to call that screen.

'activarccesibidad = (ImageButton) findViewById(R.id.buttonaccesibidad);
        activarccesibidad.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
            startActivityForResult(new Intent(android.provider.Settings.ACTION_ACCESSIBILITY_SETTINGS), 0);
            }
        });'
    
asked by Nelson Redondo Barros 12.03.2018 в 23:47
source

0 answers