AMA Class

The AMA class offers a variety of static methods and functions which can be of assistance in creating your accessible Android application. During the development process, most of your interaction with AMA will be through this class. Unless otherwise specified, all methods in this class are static.

Located in edu.mit.dig.ama.core.AMA

Vision

The following methods are particularly useful for handling cases where a user may have impaired vision. However, they may also be used in other settings as seen fit.

boolean isTalkBackInstalled ( Context context ) [source]

Checks to see if TalkBack is installed (note that this is the Google version of TalkBack)

Parameters:
  • context – The calling activity
Returns - true if Talkback is installed on this device
boolean isTalkBackEnabled ( Context context ) [source]

Checks to see if TalkBack is currently enabled and running

Parameters:
  • context – The calling activity
Returns - true if Talkback is enabled
boolean isExploreByTouchEnabled ( Context context ) [source]

Checks to see if explore by touch (provided via TalkBack) is currently enabled

Parameters:
  • context – The calling activity
Returns - true if explore by touch is enabled