Android Question Am I in accesibility mode ?

Discussion in 'Android Questions' started by hookshy, Jun 21, 2015.

  1. hookshy

    hookshy Well-Known Member Licensed User

    Please help me find out if the user is using talk back in accesibility mode of the android device !
    Thank you
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    On Android 4+ you can use this code:
    Code:
    Sub IsAccessibilityEnabled As Boolean
       
    Dim jo As JavaObject
       
    Return jo.InitializeContext.RunMethodJO("getSystemService", _
          
    Array("accessibility")).RunMethod("isEnabled"Null)
    End Sub
     
  3. hookshy

    hookshy Well-Known Member Licensed User

    thanks , option is very usefull to force app to run only if accesibility is on
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice