C
Colin Baker
Hi,
I recently read an article (and video) on MSDN about making a Windows Mobile
device enter unattended mode instead of suspended mode when the the
standby/power button is pressed. This allows applications to continue to run
instead of effectively pausing them when the screen is turned off. This is
achieved by PInvoking PowerPolicyNotify.
I have been developing a WM (PocketPC) application for a while now and
testing it on my HTC Touch Dual but it has never paused when turning the
screen off. Am I right in saying that there must be some software supplied
by HTC or Orange (my service provider here in the UK) which is calling
PowerPolicyNotify already? Or is there a registry setting that controls this?
Also relating to unattended mode, the article I read suggested that the
audio subsystem does not work in unattended mode but the audio player
supplied as part of my HTC Touch Dual still plays when I turn the screen off.
Does anyone know why?
I'm using .NET Compact Framework 2.0 and C#, my HTC Touch Dual is running
WM6.1.
Apologies if I've posted this in the wrong place, I can't find a managed
newsgroup for mobile (.NET Compact Framework) development.
Thanks in advance,
Colin
I recently read an article (and video) on MSDN about making a Windows Mobile
device enter unattended mode instead of suspended mode when the the
standby/power button is pressed. This allows applications to continue to run
instead of effectively pausing them when the screen is turned off. This is
achieved by PInvoking PowerPolicyNotify.
I have been developing a WM (PocketPC) application for a while now and
testing it on my HTC Touch Dual but it has never paused when turning the
screen off. Am I right in saying that there must be some software supplied
by HTC or Orange (my service provider here in the UK) which is calling
PowerPolicyNotify already? Or is there a registry setting that controls this?
Also relating to unattended mode, the article I read suggested that the
audio subsystem does not work in unattended mode but the audio player
supplied as part of my HTC Touch Dual still plays when I turn the screen off.
Does anyone know why?
I'm using .NET Compact Framework 2.0 and C#, my HTC Touch Dual is running
WM6.1.
Apologies if I've posted this in the wrong place, I can't find a managed
newsgroup for mobile (.NET Compact Framework) development.
Thanks in advance,
Colin