Ring tone manager on Windows Mobile

Source: Internet
Author: User

Cell phone ringtones often reflect a person's personality. Some friends don't shake their phones in the study room, so they just need to make electricity.@ # $ ^ % ^ @ & ^ % # $ & $ *@The voice is still loud, lest others cannot hear it.

Windows Mobile On the device, how do I set the ringtone for a cell phone call? InWindows Mobile 6 SDK Samples The app for setting ringtonesProgram. This application can scan all directories of the device and2.16.wav" AndZookeeper" File to let the user try and copy it to a dedicated directory. Of course, if the device supports MIDI File, you can also ". Mid" Added to the program, mainly reflected in "Private void scandirectories (string directory )" In this function.

The API Including: Sndgetsounddirectorieslist , Sndplaysync , Sndplayasync , Sndopen , Sndstop And Sndclose , Through Platform Invoke Use them in a hosted environment. When debugging, we can use Windows Mobile 6 SDK Of Cellular emulator Tool to simulate. The specific method is as follows:

1. Open Cellular emulator , It is in Windows Mobile 6 SDK Of Tools Directory, such 1 .

Figure 1:Cellular emulatorDirectory

2. Click "De : Com *" Remember (here I am Com3 ), Different machines may have different Com . For example 2 .

 

Figure 2:Cellular emulatorCOM port number in

3. Enable the simulator Configure Com3 Enter the port number Serial Port 0 Text Box. If you cannot find your port number in the drop-down list, you can enter it by yourself. For example 3 .

 

Figure 3: Set serial port 0 in emulator

Note: About cellular emulator more detailed usage, for more information, see Article : Windows Mobile 6 SDKInCellular emulator .

Then you can CellularEmulator Interface Windows Mobile 6 OfEmulator Call to test our ringtones. Select "Add to ring tones" Copy the file to the device. "My device"-> "Application Data"-> "sounds" Folder. I put "Coldplay" The two songs are added, as shown in figure 4 . Figure 5 call timeEmulator.

Figure 4: directory of "sounds" in emulator 5: Incoming callEmulatorInterface

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.