Files in the sample application

File name


  • contains the constructor that initializes the MediaBehaviourControl interface
  • extends the Canvas class and implements the keyPressed(), keyReleased(), and keyRepeated() methods which handle media key-press events

  • contains constants that specify which media key was pressed


  • contains configuration information about the application
  • includes the RIM-MIDlet-MediaPlayerModeEnabled option to configure the default setting for media player mode
Next topic: System requirements

Was this information helpful? Send us your comments.