Alarm development smartphone

A

Achu

I am trying to develop a custom alarm program in C#. Which is the
best way
to check the time I have 3 option
1. Use WindowsMobile.Status.Time notify my application every minute
2. Use Timer control
3. A custom program like RunAppAtTime in OpenNetCF (any function like
this
in
WM6)
4. or better use CeSetUserNotificationEx

I don't know about battery usage if I use option 1.
Any other options??


advance thanks
achu.
 
P

Paul G. Tobey [eMVP]

It depends on what you are going to *do* when the alarm fires. If you just
want to notify the user of something and don't need custom code of yours
executed, 4 might work for you. 1 and 2 will be suspended when the device
suspends, so those are not suitable for an alarm that needs to fire at a
given time of day.

Paul T.
 

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