Header Sep

Symbian OS Tips, Tricks & Code

Score
Login to rate page

June 2007

List MMF controller plugins and supported formats, UIQ 3

This application shows how to list information about all MMF controller plugins from the ECOM registry on Sony Ericsson's UIQ 3-based phones. A controller is a MMF plugin that supports playing and recording one or several multimedia formats. Most MMF audio and video interfaces use the multimedia controller framework to provide functionality to read and write audio and video data. For more information see the MMF Client Overview document from Symbian>> 

Additional controller plugins can be implemented and installed to a phone to extend it's functionality. For more information see the How to Controller guide from Symbian>>

Download example application>>

The screen shots below show the running application. The first view displays a list of all controller plugins:
 

Select a controller to open a view listing all formats supported by that controller:

 
Click on a format to display a view with detail information about that format:

 
The application uses the CMMFFormatSelectionParameters class to select controllers from the ECOm registry. The CMMFFormatSelectionParameters is used to define the required format support before selecting the controllers. The controllers are listed as a RMMFControllerImplInfoArray containing pointers to CMMFControllerImplementationInformation object which hold the information about the controllers. For each controller the supported play and record formats can be listed as two RMMFFormatImplInfoArray. Each such array contains pointers to CMMFFormatImplementationInformation objects holding information about the formats.

For implementation details, see the example application source code. 

To build the example application for Sony Ericsson's UIQ 3-based phones, use the following commands:

$ bldmake bldfiles
$ abld build gcce urel
$ makesis MyMMFFormatLister.pkg

Download UIQ 3 SDK>> 

Score
Login to rate page