473,813 Members | 4,194 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# - Windows Mobile 5.0/6.0 Programming - Setting Alarm Clock

2 New Member
Heya,

I can't seem to find any references to a way that I can set the system alarm clock.

I am using a Motorola Q which is running Windows Mobile 5.0 Smartphone.

I am not sure if the best way to do this woudl be directly through a microsoft.windo wsmobile class or maybe directly through maybe like just altering the registry somewhere (I have tried to locate the alarm time in registry and cannot find it either).

I basically want to be able to press a button and change the alarm time.

Any help would be appreciated!!

Scott
Jan 2 '08 #1
8 16829
RedSon
5,000 Recognized Expert Expert
Heya,

I can't seem to find any references to a way that I can set the system alarm clock.

I am using a Motorola Q which is running Windows Mobile 5.0 Smartphone.

I am not sure if the best way to do this woudl be directly through a microsoft.windo wsmobile class or maybe directly through maybe like just altering the registry somewhere (I have tried to locate the alarm time in registry and cannot find it either).

I basically want to be able to press a button and change the alarm time.

Any help would be appreciated!!

Scott
Alarm times are not a function of the OS or registry. Alarm applications allow the user to enter in a time in the future then when the system time matches the user inputed future time then they make an alarm. You won't find any Microsoft WM5 APIs or Registry entries for alarms.
Jan 2 '08 #2
hambones
2 New Member
I understand, however, there are simple applications on the net such as "EzAlarm" that do exactly what I want to do. Have a simple GUI that changes the actual System Alarm time--so there is definitely a way without writing your own alarm application

Anyone? ;)
Jan 3 '08 #3
RedSon
5,000 Recognized Expert Expert
I understand, however, there are simple applications on the net such as "EzAlarm" that do exactly what I want to do. Have a simple GUI that changes the actual System Alarm time--so there is definitely a way without writing your own alarm application

Anyone? ;)
There is no such thing as "System Alarm time" I don't know what you are talking about. That application EzAlarm allows the user to enter in a time and when the system time is equal to or greater then the user entered time it makes a noise or vibrates or something. The OS does not keep track of alarms, it does not have an "alarm time" there is no such thing as an alarm to the OS, it has system time. Do I need to repeat that again? I'll bold it this time... There is no such thing as System Alarm time.
Jan 3 '08 #4
NeoPa
32,579 Recognized Expert Moderator MVP
HamBones,

Your basic premise would simply point to there being an application written to handle this. I see no reason to conclude (as you have done) that there is necessarily some sort of standard API that supports it.
In short - there is definitely a way if you write it into the application. I see nothing to support the contention that it must have been done with prepackaged assistance.
Jan 3 '08 #5
markmcgookin
648 Recognized Expert Contributor
HamBones,

Your basic premise would simply point to there being an application written to handle this. I see no reason to conclude (as you have done) that there is necessarily some sort of standard API that supports it.
In short - there is definitely a way if you write it into the application. I see nothing to support the contention that it must have been done with prepackaged assistance.
I have never heard of anyone tapping into a system.windows etc ... clock API.

a simple app that had a thread triggering an event every second comparing the current time to the user time seems the only way.
Jan 4 '08 #6
nemosomen
1 New Member
I hate to bump something so old, but I was searching for the same thing -- How to modify the system alarm through the registry. Despite how ridiculous you may have thought this person's post to be, there is in fact a system alarm. HKLM/Software/Microsoft/Clock/[0-2] is where it is. 0 and 1 are set via the alarm interface, whereas 2 can only be set manually via the registry.If anyone knows how, I'd be glad to hear it -- I've had to resort to setting 1 via the menu, then copying it to 2, then changing 1 back to what I want it to be.
Sep 28 '09 #7
NeoPa
32,579 Recognized Expert Moderator MVP
@NeoPa
Just to clarify my point earlier. I made no contention that such a thing was impossible, simply that the logic put forward was wholly unsupportable.

Bumping a thread with new information should never be considered a problem though, as far as I can see. If you have helpful new information then sharing it is to the benefit of all.

As for the Registry Key you mention (HKLM/Software/Microsoft/Clock/[0-2]), I find no Clock path under HKLM\Software\M icrosoft on my PC. While no particular build could really be considered standard (except perhaps a virgin one), I would certainly infer that as my PC doesn't have this key then it must not be a standard OS key (That, and it's under HKLM\Software).

If anything, this seems to support the contention that the functionality is provided within a standard software package, rather than being an inbuilt facility provided by Windows.

Welcome to Bytes!
Sep 28 '09 #8
RedSon
5,000 Recognized Expert Expert
@nemosomen
Dont feel bad bumping something. Just dont bump it if you don't have anything useful to add.

As for the registry key you are talking about, there is no information on it for alarms. The settings in that key allow you to show notification dialogs for daylight or standard time, they also allow you to enable automatic daylight savings switch-over.

There is some other anecdotal evidence that you can change the value of that key to disable the ability to change the date and time, but employees of Microsoft have denied that this is true.

The only information I could find regarding system alarms is the Clock Configuration Service Provider but it uses XML to provision the clock and alarm system. Usually this is done via OMA Client Provisioning (what used to be WAP Provisioning) and is controlled by your mobile carrier. This means that it has to be allowed by the security roles defined by the mobile operators.

You should study up on this and it's related tasks and concepts: http://msdn.microsoft.com/en-us/library/bb737261.aspx
Sep 29 '09 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

0
2227
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...
5
606
by: Tom | last post by:
Using multiple System.Timers.Timer objects in a Windows Service for performing multi-thread activities in a periodic fashion. Timers are AutoReset=false, to only have a single timer execution thread running at any given moment. Typically, timers will have an interval of 5 to 15 minutes. Conditionally, the interval may be set to 1 second (1000 ms) before the next call to Timer.Start(). Here is the question: if the interval is one...
3
3523
by: ankitks | last post by:
Hi guys, is there any utility available as a protection against endless_loop() something like this: alarm.set(5); //set timeout for 5 sec endless_loop(); alarm.reset(); //reset it to 0, as alarm not needed any more
4
1850
by: =?Utf-8?B?SmF5RFA=?= | last post by:
HELP! I have a small home network setup. One Desktop for me, one dektop for my two girls, a laptop for work, my wife's laptop, and my son's laptop for college work. All in "WORKGROUP" connected through wireless Verizon FIOS broadband router. I had Zone Alarm FREE as the firewall. I also have CAI Anti-Virus. Both CAI Anti-Virus and Zone Alarm FREE needed an update.
1
2056
by: =?Utf-8?B?U2FtIE1jSW50eXJl?= | last post by:
I have a big problem - can anyone help a distressed woman here? I installed Zone Alarm Security Suite and then after a while I didn't like the software so I removed it properly, but then discovered my wireless become limited access. I found out that I have two firewalls and have tried everything to remove Zone Alarm completely from the Windows Vista Security system but it is still stuck there and this is causing problems of being...
0
3441
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...
1
2874
by: =?Utf-8?B?V29vZGdub21l?= | last post by:
Hi, I have use the following code to transmit a file back to the browser that worked fine on a HTC_TTyN device running windows mobile 5.0. The code executes in the onclick event of a mobilelist control. Now on a similar device running window mobile 6.0 the file is not displayed - the link causes a post back succesfully and the code appears to execute - on the browser a bar is displayed breifely at the bottom of the window (although ist...
1
2355
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...
11
3344
by: WinSankalp | last post by:
Which Windows mobile devices are better for programming. We are currently using HP iPAQ 910 running Windows Mobile 6.1 professional. Our applications mainly deal with ad Wi Fi communication between mobile devices. We are mainly developing in .Net - C# Our applications will have simple GUIs. So are there any devices better from network configuration point of view.
0
9734
marktang
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...
0
9607
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10665
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10420
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,...
1
7681
isladogs
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...
0
5568
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...
0
5704
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3881
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3029
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.