The recommended way of doing this is to query the AccessibilityManager
for the enabled state of accessibility services.
AccessibilityManager am = (AccessibilityManager) getSystemService(ACCESSIBILITY_SERVICE);
boolean isAccessibilityEnabled = am.isEnabled();
boolean isExploreByTouchEnabled = am.isTouchExplorationEnabled();
Related Contents:
- How to Programmatically Enable/Disable Accessibility Service in Android
- Ship an application with a database
- How to change the text on the action bar
- How to sign Android app with system signature?
- Change value of R.string programmatically
- Android: Want to set custom fonts for whole application not runtime
- Android: remove left margin from actionbar’s custom layout
- Draw text in OpenGL ES
- No matching client found for package name (Google Analytics) – multiple productFlavors & buildTypes
- Calculate compass bearing / heading to location in Android
- Android new Bottom Navigation bar or BottomNavigationView
- AsyncTask won’t stop even when the Activity has destroyed
- Clear back stack using fragments
- Why is my Button text forced to ALL CAPS on Lollipop?
- how to change color of TextinputLayout’s label and edittext underline android
- How to use ADB Shell when Multiple Devices are connected? Fails with “error: more than one device and emulator”
- support FragmentPagerAdapter holds reference to old fragments
- “An internal error occurred” with integration of Google Plus Login
- Intel’s HAXM equivalent for AMD on Windows OS
- How to compress image size?
- App on Google Play always shows “Update” instead of open [closed]
- How can I get my Android device country code without using GPS?
- Actionbarsherlock + tabs + multi fragments?
- java.lang.NoClassDefFoundError:failed resolution of :Lorg/apache/http/ProtocolVersion
- How to get the Correct orientation of the image selected from the Default Image gallery
- How to make an application ignore screen orientation change?
- What is the role of content_main.xml in android studio 1.4?
- How to force Share Intent to open a specific app?
- How to implement getfilter() with custom adapter that extends baseadapter
- Simulate low network connectivity for Android [closed]
- getting context in AsyncTask
- How to change the color of a SwitchCompat from AppCompat library [duplicate]
- Android – Spacing between CheckBox and text
- Finish parent and current activity in Android
- GoogleApiClient is throwing “GoogleApiClient is not connected yet” AFTER onConnected function getting called
- Firebase onTokenRefresh() is not called
- MongoDB on Android
- Accessing files from genymotion sd card
- How to resize image (Bitmap) to a given size? [duplicate]
- Starting Activity from Fragment causes NullPointerException
- How do you use a TimerTask to run a thread?
- How can I correctly pass unique extras to a pending intent?
- ViewPager + RecyclerView issue in android
- How to update Google Play Services for Android Studio 2.2 emulators?
- Android – loop part of the code every 5 seconds
- How to download XML file from server and save it in SD card?
- What’s “requestCode” used for on PendingIntent?
- Android : How to programmatically set layout_constraintRight_toRightOf “parent”
- how to get text from textview
- Published Android apk gives error “Package file was not signed correctly”