Share via


Changing the SMS Notification Sound and the Ring Tone Example

4/8/2010

This example changes the sound file associated with Short Message Service (SMS) notifications to SunnyDay.mid. The code also changes the ring tone on the device to SunnyDay.mid. The Sound parameter's value is the full path to a .wav or .mid file.

Code Example

<wap-provisioningdoc>
    <characteristic type="Sounds">
       <characteristic type="HKCU\ControlPanel\Sounds\SMS">
          <parm name="Sound" value="\Application Data\Sounds\SunnyDay.mid"/>
       </characteristic>
       <characteristic type="HKCU\ControlPanel\Sounds\RingTone0">
          <parm name="Sound" value="\Application Data\Sounds\SunnyDay.mid"/>
       </characteristic>
    </characteristic>
</wap-provisioningdoc>

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