Open main menu

CDOT Wiki β

Changes

BlackBerry : Develop Simple Apps

6 bytes added, 14:45, 24 February 2011
Media Keys
[http://docs.blackberry.com/en/developers/deliverables/16743/Media_keys_sample_app_overview_818387_11.jsp Overview]
'''The Media Keys sample application is a MIDlet that demonstrates how to respond to media key-press events on aBlackBerry® device'''. Media keys control the playback of music, video, and pictures that are stored on the device. The sample application is designed to accept media key presses while running in either the foreground or background.
The sample application highlights the use of the MediaBehaviourControl interface, which enables a MIDlet to act as a media player. For more information about monitoring media key-press events using the BlackBerry Java® API, see the Multimedia Development Guide.