Share via


Changing the Keypress Sound Mode Example

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.

GSM Example

<wap-provisioningdoc>
  <characteristic type="Sounds">
    <characteristic type="ControlPanel">
      <characteristic type="Sounds">
        <characteristic type="KeyPress">
          <parm name="ModeGSM"
             value=""
             datatype="Integer"
             label="Keypad control:"
             options="Tone=1;Click=2;None=0"/>
        </characteristic>
      </characteristic>
    </characteristic>
  </characteristic>
</wap-provisioningdoc>

CDMA Example

<wap-provisioningdoc>
  <characteristic type="Sounds">
    <characteristic type="ControlPanel">
      <characteristic type="Sounds">
        <characteristic type="KeyPress">
          <parm name="ModeCDMA"
             value=""
             datatype="Integer"
             label="Keypad control:"
             options="Long tone=3;Short tone=1;Click=2;Off=0"/>
        </characteristic>
      </characteristic>
    </characteristic>
  </characteristic>
</wap-provisioningdoc>

See Also

Sounds Configuration Service Provider Examples

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.