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

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.