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 PowerPolicyNoti fy.
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
PowerPolicyNoti fy 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 1 5191
On Oct 2, 7:38 am, Colin Baker <Colmeis...@new sgroup.nospamwr ote:
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 PowerPolicyNoti fy.
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
PowerPolicyNoti fy 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.publi c.dotnet.framew ork.compactfram ework This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dmitry |
last post by:
Hi folks!
I need to find a way to switch to a different Unix user from within
the Perl script that is currently ran unattended. Script must switch
user in order to execute proper profile for different Data Base
Instance and set corresponding environmental variables correctly.
Script works fine for a single Data Base Instance. I need to be able
to run it consecutively for several others instances. This requires
login in as a different...
|
by: Primo |
last post by:
Hi,
This problem has been frustrating me for days and I hope you experts can
help me out. I am trying to run a command, which I would normally run from
the command line, from within my C# application. The command runs
successfully from a Windows Form but fails if the application is recasted as
a Windows service. The application is essentially a File Watcher that should
run the process when a file is dropped into a specific directory.
...
|
by: Nick White [MSFT] |
last post by:
Hello fellow Microsoft Windows Mobile and Embedded enthusiasts:
I invite you to peruse the list below of upcoming technical chats and
Webcasts offered by the Windows Mobile and Embedded Devices Group.
For the full list of upcoming Windows Mobile and Embedded chats, to review
archived chat sessions, or to request a reminder for a chat, visit
http://msdn.microsoft.com/embedded/community/community/chats/. Also, the
Windows Mobile and...
|
by: Paul Sneddon |
last post by:
Hi,
I'm using VS.NET 2005 RC to create Windows Mobile apps. I'm trying to call
the following shell function which is new on Windows Mobile 5.
SNDGETSND
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mobilesdk5/html/wce51lrfSndSetSound.asp
I basically just need to be able to get the device ringer mode (e.g. On Off
Vibrate) this seems the way to do it in WM5.
|
by: beartrax |
last post by:
I am using Windows Mobile 2003 SE and trying to change the menu selectable VIEW mode by using javascript or any other programming method within an html page.
The menu view modes I would like to be able to change with a page's html code are (VIEW, LAYOUT, DEFAULT) and (VIEW, LAYOUT, DISPLAY)
I have one page that displays a large scrollable image (satellite map image) with associated image map and would like to change to PPC IE default...
| |
by: =?Utf-8?B?Q2hhcmxlcw==?= |
last post by:
Like many people, I normally use Yahoo! Mail via the web and like to keep all
my emails stored on the Yahoo! server. However sometimes I can’t get access
to a PC/the web and I download my emails to a PDA/palmtop via POP3. The PDA
uses Windows Mobile software. Since using the PDA, I have had the problem of
emails disappearing from the Yahoo! server. However I think I now understand
how to avoid this.
It seems that Windows Mobile is...
|
by: aemxt |
last post by:
Hello, windows became unstable and slow, can anyone tell me how to reinstall windows
quickly and without losing any data? I read somewhere that it's possible to install
windows in the unattended mode. How's that? What's needed for that?
|
by: =?Utf-8?B?UmV4RWFzdA==?= |
last post by:
Hi,
I am making my first Windows Mobile app, a simple countdown timer for my
Windows Mobile 6.1 Pocket PC (in C#). The alarm works fine in general.
However, if I've let my Pocket PC sit idle for more than 1 minute and the
display turns off, then the alarm will not sound until I press the "power"
button to wake it back up. This makes the timer pretty much useless: for
example, what if I want to be woken up after a 30-minute nap?
When I...
|
by: =?Utf-8?B?RGFuaWVs?= |
last post by:
Hi,
I downloaded the sample application that the Microsoft video
ASPNETAJAXForWinMobile described but it doesn't work on my Windows Mobile 6
emulator. After enabling the script error reporting of the mobile IE, it pops
up several JScript error and the ajax behavior is not funtional at all.
Where can I look for any possible issue?
Thanks.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |