Help Center

Local Navigation

Notifying an assistive technology application when the UI changes

You can enable a BlackBerry® device application that uses custom UI components to send information to an assistive technology application by using the classes and interfaces in the net.rim.device.api.ui.accessibility package. When a custom UI component changes, an assistive technology application receives a notification about the change and can retrieve more information about the change from the custom UI component.

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

For example, if a BlackBerry device application uses a custom 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 information such as the text that the user selects or changes.

Index


Was this information helpful? Send us your comments.