Partager via


Changing the Keypress Sound Mode Example

4/8/2010

These examples change the keypress sound mode of the GSM or CDMA device so that tones play when a key is pressed on the keypad.

Example Settings for GSM and CDMA

<characteristic type="Registry">
  <characteristic type="HKCU\ControlPanel">
     <characteristic type="Sounds">
        <characteristic type="KeyPress">
            <parm name="BeepMode"
               value="0"
               datatype="Integer"
               label="Keypad control:"/>
       </characteristic>
     </characteristic>
  </characteristic>
</characteristic>

GSM and CDMA Configuration Options

To configure the GSM and CDMA settings, change the value of the BeepMode parameter.

The following table shows the configuration values for GSM.

BeepMode value BeepMode sound description

1

Tone

2

Click

0

None

The following table shows the configuration values for CDMA.

BeepMode value BeepMode sound description

3

Long tone

1

Short tone

2

Click

0

Off

Remarks

One provisioning XML file typically contains configuration information for multiple Configuration Service Providers. To use this example, you must replace the values as appropriate, and add the node as a child of the OMA Client Provisioning file. For information about the syntax of this file, see OMA Client Provisioning Files. For examples, see OMA Client Provisioning XML File Examples.

See Also

Tasks

Sounds Configuration Service Provider Examples for OMA Client Provisioning