D
droll
Hi guys. I'm totally new to this platform (previously on UIQ + Symbian). I
have a few burnin questions and I hope this is the right ng to ask them (my
apologies otherwise!)... My first priority is to code using C# on .NETCF v2
(WM5) so any answers in that platform would be greatly appreciated. However,
I am aware there are limitations and I'm willing to explore a C++ dll that I
can call from managed code for other functionality. So here goes:
1. As I understand it, the OS or .netcf can terminate the app when the
system is running low on memory. This is similar to Symbian. However, in
Symbian, I could trap a certain exit message posted into my app and decide
how I want to handle it. One of the ways of handling it is to prevent my app
from terminating (in some scenarios, I want this to happen). Is there a
similar fashion to achieve this?
2. On the Dopod 900 device, you can close the flip screen. Is there a
general mechanism I can setup to watch for messages and see what message
gets posted when this happens? I want my app to do certain things when the
flip is closed.
3. How do I read resource strings from my resource file??
4. How do I forcefully terminate a phone call?
5. Is there an alarm server available in PocketPC that I can use? E.g. I can
post an alarm into the alarm server that says "Expire the alarm at 10:15pm
with the following ring tone. Identify my alarm with a GUID number that only
my app will recognize so that it won't show up in other apps like Calendar,
Clock, Tasks etc."
Code snippets would be helpful. I'm still struggling with things (only 1
into this!) but I can surely tell you that the learning curve on this
platform esp on .NETCF v2 is much easier than Symbian's C++.
Thanks.
have a few burnin questions and I hope this is the right ng to ask them (my
apologies otherwise!)... My first priority is to code using C# on .NETCF v2
(WM5) so any answers in that platform would be greatly appreciated. However,
I am aware there are limitations and I'm willing to explore a C++ dll that I
can call from managed code for other functionality. So here goes:
1. As I understand it, the OS or .netcf can terminate the app when the
system is running low on memory. This is similar to Symbian. However, in
Symbian, I could trap a certain exit message posted into my app and decide
how I want to handle it. One of the ways of handling it is to prevent my app
from terminating (in some scenarios, I want this to happen). Is there a
similar fashion to achieve this?
2. On the Dopod 900 device, you can close the flip screen. Is there a
general mechanism I can setup to watch for messages and see what message
gets posted when this happens? I want my app to do certain things when the
flip is closed.
3. How do I read resource strings from my resource file??
4. How do I forcefully terminate a phone call?
5. Is there an alarm server available in PocketPC that I can use? E.g. I can
post an alarm into the alarm server that says "Expire the alarm at 10:15pm
with the following ring tone. Identify my alarm with a GUID number that only
my app will recognize so that it won't show up in other apps like Calendar,
Clock, Tasks etc."
Code snippets would be helpful. I'm still struggling with things (only 1
into this!) but I can surely tell you that the learning curve on this
platform esp on .NETCF v2 is much easier than Symbian's C++.
Thanks.