Windows Mobile 6 Unattended Mode

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

Ignacio Machin ( .NET/ C# MVP )

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

Hi,

It might be possible that the device itself is calling it for your
self, not only that as this is a phone you cannot turn off the audio
when the screens is off, if you do so either you lose the calls when
the screen is off or you have to have the screen on all the time.

There is a NG for compact framework that is very active, it's
microsoft.public.dotnet.framework.compactframework
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top