共用方式為


Changing the SMS Notification Sound and the Ring Tone Example for OMA DM

Send Feedback

This example changes the sound file associated with Short Message Service (SMS) notifications to "notify.mid", and changes the ring tone on the device to "ringtone.mid".

<Replace>
   <CmdID>1</CmdID>
   <Item>
      <Target><LocURI>./Vendor/MSFT/Sounds/HKCU/ControlPanel/Sounds/SMS/Sound</LocURI></Target>
      <Meta>
         <Format xmlns="syncml:metinf">chr</Format>
         <Type xmlns="syncml:metinf">text/plain</Type>
      </Meta>
      <Data>\Windows\notify.mid</Data>  <!-- specify absolute filename -->
   </Item>
   <Item>
      <Target><LocURI>./Vendor/MSFT/Sounds/HKCU/ControlPanel/Sounds/RingTone0/Sound</LocURI></Target>
      <Meta>
         <Format xmlns="syncml:metinf">chr</Format>
         <Type xmlns="syncml:metinf">text/plain</Type>
      </Meta>
      <Data>\Windows\ringtone.mid</Data>  <!-- specify absolute filename -->
   </Item>
</Replace>

See Also

Sounds Configuration Service Provider Examples for OMA DM | OMA DM Provisioning Files

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.