Help Center

Local Navigation

Notifying an assistive technology application when the UI changes

You can use the APIs in the net.rim.device.api.ui.accessibility package to allow a BlackBerry® device application that uses custom UI components to send information to an assistive technology application. When a custom UI component changes, an assistive technology application receives a notification about the change and can obtain more information about the change from the custom UI component.

For example, if a BlackBerry device application uses a class called myTextField that extends the TextField class, when a BlackBerry device user changes the text in a myTextField instance, an assistive technology application receives notification of the change and can retrieve data such as the text that the user selects or changes.

The notification contains the following information:
  • name of the custom UI component
  • type of event, for example, a change in the cursor position, or a change in the name of the custom UI component
  • value of a custom UI component before the event
  • value of a custom UI component after the event

Index


Was this information helpful? Send us your comments.