This is a discussion on Can we able to mute the incoming ring when my custom app is running? within the Mobile Software Development forums, part of the Software Development category; Hi, I'm writing a custom Caller ID screen. From this forum, it's found how to replicate the "...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi, I'm writing a custom Caller ID screen. From this forum, it's found how to replicate the "answer" & "end" call action by the sending a pair of keyboard events. But how about the "mute ring" and "stop vibration" action? Can it be achieved by using any API call? Thanks in advance |
| Sponsored Links |
| |||
| Hi friend, If you application is built for Windows Mobile 5.0 or later version OS, you can achieve this with using SndSetSound function. Code Snippet SNDFILEINFO fi; fi.sstType = SND_SOUNDTYPE_VIBRATE; // SND_SOUNDTYPE_ON // SND_SOUNDTYPE_NONE SndSetSound(SND_EVENT_ALL, &fi, TRUE); For more information and sample code, you can find it in MSDN library: SndSetSound: SndSetSound SNDFILEINFO: SNDFILEINFO |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Custom class in WinRunner | vigneshgets | Testing Tools | 0 | 11-06-2007 10:53 PM |
| custom objects | simplesabita | Testing Tools | 1 | 08-28-2007 06:31 AM |
| Custom Search Engine | Murali | 0 | 07-11-2007 08:08 AM | |
| How important is custom skin? | spid4r | HTML, CSS and Javascript Coding Techniques | 2 | 03-10-2007 06:22 AM |
| Tossing my hat into the ring | econwriter5 | Introductions | 0 | 03-07-2007 05:54 PM |