Respond to navigation events

You can use the Screen navigation methods to create a BlackBerry® device application. If your existing BlackBerry device application implements the TrackwheelListener interface, update your BlackBerry device application to use the Screen navigation methods.
  1. Import the net.rim.device.api.ui.Screen class.
  2. Manage navigation events by extending the net.rim.device.api.ui.Screen class (or one of its subclasses) and overriding the following navigation methods:
    navigationClick(int status, int time)
    navigationUnclick(int status, int time)
    navigationMovement(int dx, int dy, int status, int time)
Previous topic: Events

Was this information helpful? Send us your comments.