Jump to content

volume-key, mute/vibrate problem

Recommended Posts

Hello, I am developing an application in native C++ with Windows Mobile SDK 6 for Samsung Omnia II GT-I8000. I have to use my own UI engine in the appliacation, and I want to inform the user about the volume level with an appearing progressbar. There is no problem if I change the volume level with a short press of the hardware key, the WM_KEYUP/WM_KEYDOWN windows messages are sent by the core, so I can detect them. But if I do a long press for decreasing the volume, the device changes its behaviour to vibrate or mute. There are NO windows messages sent in this case. Is there any solution to detect the volmue level (sound settings, voice/vibrate/mute) state changes? I do not want to poll the values in registy or call other apis frequently for that detection. So if there is any other solution, please inform me. Any help would be appreciated.

The OS version of the used device: Windows Mobile 6.5 Professional CE OS 5.2.21872 (Build 21872.5.0.71)

Used development IDE: Microsoft Visual Studio 2005

Thanks in advance.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

By using this site, you agree to our Terms of Use.